Re: Acl alternative

2016-02-04 Thread sphereweb
Can you tell us how you implemented the connection to cassandra? What are your thoughts about cassandra vs mysql? On Sunday, June 3, 2012 at 7:39:49 PM UTC-4, Juan Ezquerro LLanes wrote: > > Hi, > > I'm using cakephp 2.0 and cassandra as database, so i can't wo

New plugin ACL cakephp3

2015-10-14 Thread Rafael Abreu
Hello, I developed a plugin for acl cakephp3. Am new to the cakephp, it is three weeks I started to use it. As I saw that the community still needs a plugin acl decided to develop. The tutorial is in Portuguese, if anyone can translate it I thank you. Reviews and collaborations are welcome

Re: Iimplement ACL plugin in cakephp 3

2015-05-05 Thread Sunil Kumar
I have installed the acl plugin using composer . I tried using it as given in the cakephp 2.x tutorial coz dere's no tutorial given for 3.0 . it's not working. Need immediate help in implementing the same. Thanks in advance. On Monday, May 4, 2015 at 10:41:59 PM UTC+5:30, John Ande

Re: Iimplement ACL plugin in cakephp 3

2015-05-04 Thread InYan
Keep the author. It would be ideal to make a video tutorial! -- Like Us on FaceBook https://www.facebook.com/CakePHP Find us on Twitter http://twitter.com/CakePHP --- You received this message because you are subscribed to the Google Groups "CakePHP" group. To unsubscribe from this group and s

Re: Iimplement ACL plugin in cakephp 3

2015-05-04 Thread John Andersen
Please provide more information on what you have tried and what are the issues you are facing! Do you understand about creating a plugin in CakePHP 3? Have you an understanding of ACL? How far are you with the plugin and where are you stuck? Enjoy, John On Monday, 4 May 2015 10:58:46 UTC+3

Iimplement ACL plugin in cakephp 3

2015-05-04 Thread Sunil Kumar
I need to implement ACL plugin in cakephp 3 . the documentation given is not helping ... need your help in implementing the same. -- Like Us on FaceBook https://www.facebook.com/CakePHP Find us on Twitter http://twitter.com/CakePHP --- You received this message because you are

Dispatch ACL events in Cake 2.6

2015-03-05 Thread Lincoln Brito
Hi folks, How can I attach or dispatch events only for ACOs/AROs? Thanks -- Like Us on FaceBook https://www.facebook.com/CakePHP Find us on Twitter http://twitter.com/CakePHP --- You received this message because you are subscribed to the Google Groups "CakePHP" group. To unsubscribe from t

Re: ACL View

2015-01-16 Thread euromark
A few points: - https://github.com/GWD-WEB/acl-view/blob/master/Controller/PermissoesController.php#L2 is an invalid use statement - the plugin is missing test cases (which would have revealed point 1) - you should add composer support, as this is the de facto standard at this point to include

ACL View

2015-01-16 Thread will
Hi everyone! My company released a (little) small plugin that helps management of ACL Permissions on Cake. Feel free to use and send suggetions or bug reports! https://github.com/GWD-WEB/acl-view Thanks Willen Goulart -- Like Us on FaceBook https://www.facebook.com/CakePHP Find us on

Acl using PhpAcl problem

2014-12-16 Thread Oka Prinarjaya
Hello Folks :) Please help me, I have a problem with CakePHP ACL using class PhpAcl. This is my Auth component setup in AppController array( 'authorize' => array('Actions' => array('actionPath' => 'controllers/

[Question] Acl query error

2014-10-28 Thread Frans filasta pratama
Hello guys, I'm totally newbie in CakePHP. Now I'm working on acl. I've set my access to administrator which can do anything. But when i call method/action add or anything that i don't allow in beforeFilter() method there is an error like this *Error: *SQLSTATE[42S22]: Co

Re: Acl check not logged in user accessable url

2014-10-03 Thread John Andersen
Please rephrase your question or show us an example of what you can get and describe what you cannot get :) Enjoy, John On Monday, 29 September 2014 06:54:57 UTC+3, kani wrote: > > i can get current controller allowed actions but how get all allowed > actions from any controller. > -- Like Us

Acl check not logged in user accessable url

2014-09-28 Thread kani
i can get current controller allowed actions but how get all allowed actions from any controller. -- Like Us on FaceBook https://www.facebook.com/CakePHP Find us on Twitter http://twitter.com/CakePHP --- You received this message because you are subscribed to the Google Groups "CakePHP" group

CakePHP 2.5 and ACL Groups Permissions not working

2014-07-31 Thread Martin Halla
HI , i have had problems with Cake's ACL. I followed all the tutorials, had AROS, ACOS and AROS_ACOS table generated. I installed the Alexo's ACL plugin and made it work under version 2.5.2 (finally). I do have problem with the group permissions. Even though I set only one group to

Re: 3.x - Acl Plugin ?

2014-07-06 Thread Thomas von Hassel
change is ok :) Actually mucking about with 3.x while things are changing has been an excellent tour around the internals for me so far :) /thomas On 05 Jul 2014, at 23:11, José Lorenzo wrote: > It is not stable as in stuff will probably change, but it can be used > > On Saturday, July 5, 20

Re: 3.x - Acl Plugin ?

2014-07-05 Thread José Lorenzo
It is not stable as in stuff will probably change, but it can be used On Saturday, July 5, 2014 9:52:27 PM UTC+2, Thomas von Hassel wrote: > > I see it’s there and updated to the new directory structure, but is it in > a state to be used ? > > > /thomas > > -- Like Us on FaceBook https://www.

3.x - Acl Plugin ?

2014-07-05 Thread Thomas von Hassel
I see it's there and updated to the new directory structure, but is it in a state to be used ? /thomas -- Like Us on FaceBook https://www.facebook.com/CakePHP Find us on Twitter http://twitter.com/CakePHP --- You received this message because you are subscribed to the Google Groups "CakePHP

acl examples dont work

2014-06-12 Thread ajt
Hi, I am having problems finding a working acl example. This example points me to the below links which doesnt work. maybe I can fix these up if someone knows how. "So add some groups and users using the baked forms by browsing to http://example.com/groups/add and http://example.com/user

Need help on custom Authorization with ACL

2014-06-05 Thread Arun Singh
CakePHP custom ACL Authorization using acos, aros & aros_acos Acl tables with extension api_ I am developing an restful API using CakePHP, I am trying to implement a custom authorization which authorize user using ACL, code looks something like _Collection->load('Acl');

Re: Cakephp 2 acl not denying any actions

2014-05-13 Thread Jaz
I'm having the same problem. Did you ever figure this out? :( On Monday, March 4, 2013 12:35:48 PM UTC-7, incognito wrote: > > I followed the tutorial and didn't get any errors but acl is allowing all > actions for all users.I checked with aclmanager all permissions are

Re: Problems with ACL ARO ACO

2014-05-06 Thread Jumy Elerossë
Thank you very much, mate. I will give it a chance. On Tuesday, 6 May 2014 14:41:53 UTC+1, Dario Savella wrote: > > I am wressling myself with Acl and I've found helpful to use the AclExtras > plugin. > There's a convenient (although slow) page that uses checkboxes t

Re: Problems with ACL ARO ACO

2014-05-06 Thread Dario Savella
I am wressling myself with Acl and I've found helpful to use the AclExtras plugin. There's a convenient (although slow) page that uses checkboxes to grant permissions. -- Like Us on FaceBook https://www.facebook.com/CakePHP Find us on Twitter http://twitter.com/CakePHP --- You rec

Re: Problems with ACL ARO ACO

2014-05-06 Thread Jumy Elerossë
If somebody is so kind to share some kind of tutorial that is known to work properly, I will be really happy ;) On Monday, 5 May 2014 13:07:27 UTC+1, Jumy Elerossë wrote: > > Hello everyone. > > I have been struggling with Cake PHP, specially with the part of the ACL, > ARO a

Problems with ACL ARO ACO

2014-05-05 Thread Jumy Elerossë
Hello everyone. I have been struggling with Cake PHP, specially with the part of the ACL, ARO and ACOS. I have been Googling and reading a lot, but the official example seems to be incomplete (looks like incomplete to me), and I can only find out of date examples. I'm using cakephp

CakePHP 2.4.7 ACL List al permissions in a view

2014-04-09 Thread justrolf
Hello, I'm using CakePHP and the part I like the most of it is the ACL Component which is very useful. I'm building an group-based permissions app where I can see which permissions a group has. I want to store all my permissions of a group in a table in a view, without using a plug

Re: 3.0 - Acl

2014-03-02 Thread Thomas von Hassel
Sounds like a plan i can get behind :) /thomas On 02 Mar 2014, at 03:39, mark_story wrote: > We'll probably be moving the existing ACL code into a standalone plugin, > possibly merging with the AclExtras repo I maintain so there are fewer things > for people to install.

Re: 3.0 - Acl

2014-03-01 Thread mark_story
We'll probably be moving the existing ACL code into a standalone plugin, possibly merging with the AclExtras repo I maintain so there are fewer things for people to install. Beyond that other ACL libraries like Zend_ACL, or Sentry2 are great alternatives. -Mark On Friday, 28 February 20

Re: 3.0 - Acl

2014-03-01 Thread euromark
You are free to continue it as an Acl Plugin :) Am Samstag, 1. März 2014 08:18:24 UTC+1 schrieb Thomas von Hassel: > > To clarify, i have an app that manages permissions for a great many > Entities with DbAcl and i never had any problems with it … > > /thomas > > > &g

Re: 3.0 - Acl

2014-02-28 Thread Thomas von Hassel
To clarify, i have an app that manages permissions for a great many Entities with DbAcl and i never had any problems with it ... /thomas On 28 Feb 2014, at 13:30, José Lorenzo wrote: > It is not. The database version of ACL will be probably removed from cake 3 > as it has proven to

Re: 3.0 - Acl

2014-02-28 Thread Thomas von Hassel
Oh, that's a shame. Works fine for me, once you get a hang of it. /Thomas Sent from my iPad > On 28 Feb 2014, at 13:30, José Lorenzo wrote: > > It is not. The database version of ACL will be probably removed from cake 3 > as it has proven to be an over complication for t

Re: 3.0 - Acl

2014-02-28 Thread Dr. Tarique Sani
Great! Is a replacement proposed? Something like Sentry 2 package? Tarique On Friday, February 28, 2014, José Lorenzo wrote: > It is not. The database version of ACL will be probably removed from cake > 3 as it has proven to be an over complication for the great majority of > case

Re: 3.0 - Acl

2014-02-28 Thread José Lorenzo
It is not. The database version of ACL will be probably removed from cake 3 as it has proven to be an over complication for the great majority of cases. On Thursday, February 27, 2014 6:49:15 PM UTC+1, Thomas von Hassel wrote: > > Hey > > Am i right to assume that Acl is not don

3.0 - Acl

2014-02-27 Thread Thomas von Hassel
Hey Am i right to assume that Acl is not done in 3.0 yet ? /thomas -- Like Us on FaceBook https://www.facebook.com/CakePHP Find us on Twitter http://twitter.com/CakePHP --- You received this message because you are subscribed to the Google Groups "CakePHP" group. To unsubscribe

Re: Advice on Acl, Auth etc with multiple types of user

2014-01-10 Thread WhyNotSmile
Thanks for the replies. Maybe I've been trying to make it too complicated for my needs... I'll rethink, and euromark, I'll check out that link. Thanks again! -- Like Us on FaceBook https://www.facebook.com/CakePHP Find us on Twitter http://twitter.com/CakePHP --- You received this message be

Re: Advice on Acl, Auth etc with multiple types of user

2014-01-09 Thread euromark
You should use users and roles (user belongs to role) to manage this. and try to stay away from ACL if possible (which in this case sounds like the case) on top of different controllers/plugins to separate the access for each role, you can than easily switch access based on such a role - and

Re: Advice on Acl, Auth etc with multiple types of user

2014-01-09 Thread Rafael Queiroz
to different areas of the site, and > have different restrictions placed on what they can see. From what I've > read in the book, the Acl component seems to be the best way to manage > this, but having read all the sections on it several times, I'm still a bit > confused, so be

Advice on Acl, Auth etc with multiple types of user

2014-01-09 Thread WhyNotSmile
I'm building a system which has 4 types of user: Admin, Buyer, Supplier and Technician. They each have access to different areas of the site, and have different restrictions placed on what they can see. From what I've read in the book, the Acl component seems to be the best way to m

Re: ACL - Error messages after adding new user

2013-11-25 Thread thebeardman
t sleep to finally being able to see this :/ Le dimanche 24 novembre 2013 16:20:45 UTC+1, thebeardman a écrit : > > Hi, > > I'm using CakePHP 2.4.2 and I followed the tuto to use the core Acl > behavior. > I am able to create an usergroup and its Aros correctly. > However wh

ACL - Error messages after adding new user

2013-11-24 Thread thebeardman
Hi, I'm using CakePHP 2.4.2 and I followed the tuto to use the core Acl behavior. I am able to create an usergroup and its Aros correctly. However when I'm trying to add a new user, the user is correctly inserted in the User table but the Aro's not. I'm having the sa

Re: Cakephp user privileges ACL

2013-08-22 Thread lowpass
It means that there are no entries in the aros table for that Post. If you have things configured correctly, that should be created at the time the Past is created. If the Post already exists before adding ACL then you must sync the aros table to the posts table. On Wed, Aug 14, 2013 at 2:52 AM

Cakephp user privileges ACL

2013-08-14 Thread Shreenidhi Damani
I have an ongoing project in cakephp . I tried ACL using cakephp cookbook using the Posts example,but on add,edit & delete, the following error occurred- AclNode::node() - Couldn't find Aro node identified by "Array ( [Aro0.model] => Post [Aro0.foreign_key] => 1 ) "

Re: ACL->allow based on aco id

2013-08-02 Thread Michael Gaiser
I have tried to pass in arrays like ("Aco"=>array("id"=>4)) but it doesn't seem to work. Any suggestions? On Thu, Aug 1, 2013 at 3:13 AM, Michael Gaiser wrote: > So I have seen a lot of examples that use the aco alias when calling > allow() but they usually have the parent aco's alias included.

ACL->allow based on aco id

2013-08-01 Thread Michael Gaiser
So I have seen a lot of examples that use the aco alias when calling allow() but they usually have the parent aco's alias included. For example 'controllers/Users'. Is it possible to call allow() and just use the Aco.id and the Aro.id? Thanks ~Michael -- Like Us on FaceBook https://www.facebook

ACL - Group question?

2013-06-18 Thread Michael Gaiser
So, I am trying to setup a system in Cakephp 2.x where a user can be a member of multiple groups and gain access based on the what all those groups would provide. So here is my question. Right now, the ACL behavior along with a parentNode() function in my group model automatically creates an ARO

Re: Cache Implement on ACL

2013-05-23 Thread rchavik
On Thursday, 23 May 2013 22:10:32 UTC+7, Yasir Arafat wrote: > > Hello, > I have used ACL in an application. It was fine when there were very few > functionality but day by day as the functionalities are increased the load > time is also increasing. I make sure about > >

Re: Acl giving permissions on afterSave function of a Model?

2013-05-15 Thread Ciul
* * *$aroNode = array(* *'User' => array('id' => $this->data['Post']['user_id'])* *);* * * * * *$Permission = ClassRegistry::init('Permission');* *$Permission->allow($aroNode, $acoNode);* *}* *What do you think?* On Wednesday, May 15,

Acl giving permissions on afterSave function of a Model?

2013-05-15 Thread Ciul
Hi there everyone. I'm starting to give my first steps with Acl and it's going well until now. Ok, now, I want to give permissions to some Acos after creating an Object that is an Aro. Example: Give permission to a User to update, delete a Post that he has just created. I wanted

Re: How to delete an ACL node

2013-04-25 Thread david . suna
try cake acl help You can delete either and aro or an aco using cake acl delete aco or cake acl delete aro I am using CakePHP 1.3 so I don't know if this has changed in the 2.x series -- Like Us on FaceBook https://www.facebook.com/CakePHP Find us on Twitter http://twitter.com/Ca

How to delete an ACL node

2013-04-24 Thread Benjamin Such
Hello, how do I delete an ACL node? I searched via google and here in this group, but I haven't found anything usefull. -- Like Us on FaceBook https://www.facebook.com/CakePHP Find us on Twitter http://twitter.com/CakePHP --- You received this message because you are subscribed to the G

Re: A more advanced use of ACL?

2013-04-21 Thread Michael Gaiser
I was looking around and found this page http://joykapoor.wordpress.com/2013/01/09/authcomponent-variables-in-cakephp/ It seems that you can have your own isAuthorized() function in your user model and it will call it once it determines you are a valid user. I am going to give that a shot and see

Re: A more advanced use of ACL?

2013-04-21 Thread godjen99
> > Although I stopped short of this in my recent projects, so I haven't tried >> it, but it seems you could create a component of your own and just inherit >> the AuthComponent and overwrite that way. > > -- Like Us on FaceBook https://www.facebook.com/CakePHP Find us on Twitter http://twitt

Re: A more advanced use of ACL?

2013-04-21 Thread Michael Gaiser
Small correction, I want to overload the authorize function of the auth component. On Sunday, April 21, 2013, Michael Gaiser wrote: > The Alaxos ACL Plugin is pretty cool and I will want my code to work very > similar to that when I am done, but I dont think it will do exactly what I >

Re: A more advanced use of ACL?

2013-04-20 Thread Michael Gaiser
The Alaxos ACL Plugin is pretty cool and I will want my code to work very similar to that when I am done, but I dont think it will do exactly what I want. As for just hard coding it myself, I feel that while that is still an option, every time I and up replacing a major cake component, its because

Re: A more advanced use of ACL?

2013-04-16 Thread Lucky1968
Did you already have a look at the Alaxos ACL Plugin? http://www.alaxos.net/blaxos/pages/view/plugin_acl_2.0 Luc On Sunday, April 14, 2013 6:43:54 AM UTC+2, Michael wrote: > > I have been thinking about how I want to setup my sites permissions. Here > is my concept. I have a site

Re: A more advanced use of ACL?

2013-04-16 Thread godjen99
> > Although I know of no plugin for this, should be possible. I've been > tinkering with the ACL and Auth a bit now and it's pretty powerful and I > like it a lot - took me a while to get used to it though... Anyway, you > could write your own "check" funct

A more advanced use of ACL?

2013-04-15 Thread Henry Turk
You could query the AroAco model to get a list of the ACOs that specific ARO has access to and thus is able to grant access to. You said you have a few ways of implementing this that don't need to implement ACL.. Why not go that route? No need to over complicat etchings IMO. -- Like

A more advanced use of ACL?

2013-04-13 Thread Michael Gaiser
result in multiple User ARO's linked to the same User id. Does anyone know of a setup like this? Possibly a plugin? I think of a few ways to go about it, but they tend to avoid using ACL & Auth. Has anyone had to deal with a setup like this? Thanks. ~Michael -- Like Us on FaceBook

Cake ACL

2013-04-12 Thread wizkid
I have installed the AclExtras Plugin and within the plugin have the following: public $dataSource = 'default'; my default datasource is: public $default = array( 'datasource' => 'Database/Sqlserver', 'persistent' => false, 'host' => 'IAINROSE\SQLEXPRESS',

Re: ACL : Group vs. User

2013-02-24 Thread CrotchFrog
-5, CrotchFrog wrote: >> >> I have implemented ACL in my app and I'm regulating access using Groups, >> however, I would like for some users within the same group to have slightly >> different permissions. Has anyone been able to accomplish this? Is this >> even possibl

Re: ACL : Group vs. User

2013-02-24 Thread Robert Winkky
Have you checked out http://www.alaxos.net/blaxos/pages/view/plugin_acl_2.0 ? On Sunday, February 24, 2013 11:02:37 AM UTC-5, CrotchFrog wrote: > > I have implemented ACL in my app and I'm regulating access using Groups, > however, I would like for some users within the same

ACL : Group vs. User

2013-02-24 Thread Ed Propsner
I have implemented ACL in my app and I'm regulating access using Groups, however, I would like for some users within the same group to have slightly different permissions. Has anyone been able to accomplish this? Is this even possible? It seems as though I can change permissions for both the

Re: CakePHP ACL and paginate

2013-02-03 Thread byqsri
inta-feira, 31 de janeiro de 2013 14h30min37s UTC-2, byqsri escreveu: >> >> Hi >> I have these Model : >> User (User belongsTo Group) >> Group (Group hasMany User) >> Document >> >> I manage permissions to access to documents with ACL (User and Group lik

Re: CakePHP ACL and paginate

2013-02-01 Thread André Luis
gt; I manage permissions to access to documents with ACL (User and Group like > Aro and Document like Aco) > > Now I have two questions : > > 1)How can I retrive all documents that a user can access and how can I > paginate them? > > 2)How can I retrive all users that can

Re: CakePHP ACL and paginate

2013-02-01 Thread byqsri
Can someone help me about this? Many Thanks On Thursday, 31 January 2013 17:30:37 UTC+1, byqsri wrote: > > Hi > I have these Model : > User (User belongsTo Group) > Group (Group hasMany User) > Document > > I manage permissions to access to documents with ACL (User a

CakePHP ACL and paginate

2013-01-31 Thread byqsri
Hi I have these Model : User (User belongsTo Group) Group (Group hasMany User) Document I manage permissions to access to documents with ACL (User and Group like Aro and Document like Aco) Now I have two questions : 1)How can I retrive all documents that a user can access and how can I

Restrict access to records for certain groups / control by acl

2013-01-21 Thread LDSign
Hi I am using ACL to control access for groups and users to different actions. Now I would like to extend this behaviour to record level. Think of 3 groups: Users, agents and administrators. The model for restricted access is "company" for example (in real life there are much

Re: ACL in helper

2013-01-15 Thread Jeremy Burns | Class Outfit
Sounds like a good approach - I'll give it a whirl. Thanks. Jeremy Burns Class Outfit http://www.classoutfit.com On 13 Jan 2013, at 04:40:06, Jamie wrote: > How does that help? Well, you asked how to access ACL information inside your > plugin. That's how. As for ref

Re: ACL in helper

2013-01-13 Thread lowpass
On Sat, Jan 12, 2013 at 11:40 PM, Jamie wrote: > How does that help? Well, you asked how to access ACL information inside > your plugin. I think what Jeremy was getting at was that you suggested creating another helper, which doesn't make sense. I agree that the permissions should be

Re: ACL in helper

2013-01-12 Thread Jamie
How does that help? Well, you asked how to access ACL information inside your plugin. That's how. As for referencing the ACL component inside of your helper, while technically possible, that's not the best practice since you'd be mixing the view and controller layers (since help

Re: ACL in helper

2013-01-12 Thread lowpass
ns | Class Outfit wrote: > How does that help? Why wouldn't I reference the Acl component inside my > current helper? > > For clarity... the helper parses a config file an build up an menu that > contains one or many links - typically s into a . I want to be sure > that the

Re: ACL in helper

2013-01-11 Thread Jeremy Burns | Class Outfit
How does that help? Why wouldn't I reference the Acl component inside my current helper? For clarity... the helper parses a config file an build up an menu that contains one or many links - typically s into a . I want to be sure that the current user has permissions for 'this'

Re: ACL in helper

2013-01-11 Thread Jamie
Do you mean that you want to use check the user's permissions inside your plugin's helper? In that case, I would write another helper that you can use to check all of the ACL permissions. On Thursday, January 10, 2013 9:21:54 PM UTC-8, Jeremy Burns wrote: > > I have a Naviga

ACL in helper

2013-01-10 Thread Jeremy Burns
I have a Navigation plugin that contains a helper. It's used for creating menus dynamically. I want to check a user's permissions via ACL before adding a menu item. How can I user the ACL component inside the plugin? -- Like Us on FaceBook https://www.facebook.com/CakePHP Find us

Re: [URGENT] Acl::check() is not working

2012-11-13 Thread polutan
wpass > This might help: > > > http://bakery.cakephp.org/articles/thanos/2011/01/17/acl_checking_permissions_in_views > > On Mon, Nov 12, 2012 at 1:37 AM, polutan polution at all > wrote: > > i have group's access rights setting page > > http://imageshack.us/f/60

Re: [URGENT] Acl::check() is not working

2012-11-12 Thread lowpass
This might help: http://bakery.cakephp.org/articles/thanos/2011/01/17/acl_checking_permissions_in_views On Mon, Nov 12, 2012 at 1:37 AM, polutan polution at all wrote: > i have group's access rights setting page > http://imageshack.us/f/600/accessrightslist.png/ . > now i using A

Re: ACL renamed database table

2012-11-11 Thread iFemke
gt; var at a minimum. > > Be sure to delete files in tmp/models folder, also. > > On Fri, Nov 9, 2012 at 10:08 AM, iFemke > > wrote: > > I have followed the Simple Acl controlled Application tutorial and all > was > > working. > > > > Then I rena

[URGENT] Acl::check() is not working

2012-11-11 Thread polutan polution at all
i have group's access rights setting page http://imageshack.us/f/600/accessrightslist.png/ . now i using Acl::check() to check whether an access item is allowed or denied, if allowed the checkbox is checked. I create my checkbox form using an helper this is my helper code http://pasti

Re: ACL renamed database table

2012-11-09 Thread lowpass
The table names normally follow from the model names: Group -> groups. If you want to do something different you'll need to add a $useTable var at a minimum. Be sure to delete files in tmp/models folder, also. On Fri, Nov 9, 2012 at 10:08 AM, iFemke wrote: > I have followed the

ACL renamed database table

2012-11-09 Thread iFemke
I have followed the Simple Acl controlled Application tutorial and all was working. Then I renamed the database table (which was groups) in to something else (_companyname_groups). Now I have errors saying Cake can't find my groups table, which is logical because I renamed it. I can'

Re: Acl::check() the $action parameter and the default vals , what does that mean?

2012-11-08 Thread alaxos
Some explanation here: http://stackoverflow.com/questions/9063617/cakephp-acl-action-mode-vs-crud-mode Le jeudi 8 novembre 2012 03:41:53 UTC+1, polutan polution at all a écrit : > > anybody? Please help me > > > 2012/11/5 polutan polution at all > > >> Hello fol

Re: Acl::check() the $action parameter and the default vals , what does that mean?

2012-11-07 Thread polutan
anybody? Please help me 2012/11/5 polutan polution at all > Hello folks :) > I don't understand what does $action param and its default values mean? > Because i can directly write $this->Acl->check("warriors/Aragorn", > "ControllerNames/myMethodName&q

Acl::check() the $action parameter and the default vals , what does that mean?

2012-11-07 Thread polutan polution at all
Hello folks :) I don't understand what does $action param and its default values mean? Because i can directly write $this->Acl->check("warriors/Aragorn", "ControllerNames/myMethodName") then it works, i don't need to supply $action param. Then if i do som

Re: ACL - Error Messages after Add New User

2012-11-07 Thread Victor Musvibe
te > wrote: > > Hi, > > > > I'm a newbie. > > > > I use the CakePHP Version 2.1.0 and followed the following > descriptionhttp:// > book.cakephp.org/2.0/en/tutorials-and-examples/simple-acl-cont... > > > > Currently I'm at th

Re: Many-to-many ACL

2012-11-02 Thread rchavik
On Friday, 2 November 2012 06:57:13 UTC+7, Daniel Hdez wrote: > > Hello, hey i have the same problem, do you find a solution yet? greetings! > :) > If you read the thread, you'll find the solution in front of you :p -- Like Us on FaceBook https://www.facebook.com/CakePHP Find us on Twitter h

Re: Many-to-many ACL

2012-11-01 Thread Daniel Hdez
Hello, hey i have the same problem, do you find a solution yet? greetings! :) -- Like Us on FaceBook https://www.facebook.com/CakePHP Find us on Twitter http://twitter.com/CakePHP --- You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this gr

Re: ACL - delete groups?

2012-10-18 Thread Adam Strom
Thanks, Jeremy - that's just the answer I needed. The docs seemed to indicate that this type of handling would be taken care of by the Acl component of Cake, so thanks for clearing it up. I appreciate the help! Best, Adam On Thursday, 18 October 2012 00:49:54 UTC-4, Jeremy Burns

Re: ACL - delete groups?

2012-10-17 Thread Jeremy Burns | Class Outfit
27;t, the users belong to a now vanished group. That will confuse the Acl tables as they do not deploy RI out of the box (they should have relations between aros => aros_acos <= acos, but they don't), and even then it's hard to restrict group deletes there as the foreign key to

Re: ACL - delete groups?

2012-10-17 Thread Vanja Dizdarević
Can you post some code maybe? On Thursday, October 18, 2012 1:25:22 AM UTC+2, Adam Strom wrote: > > Hi All - > > I've completed the Acl tutorial in the 2.0 docs and it says: "...anytime > you create or delete a user/group the Aro table is updated." > > Yet

ACL - delete groups?

2012-10-17 Thread Adam Strom
Hi All - I've completed the Acl tutorial in the 2.0 docs and it says: "...anytime you create or delete a user/group the Aro table is updated." Yet when I delete a group that has users assigned to it, any further edits to those users throws an error: "Error: [CakeExce

It is possible multiple applications share the same tables ACL?

2012-10-12 Thread Everton Inocencio
Currently I have to share a database with more applications and the tables are prefixed to identify each application. So, many applications can be sharing the same tables ACL? Or, I could change the default names of the tables ACL and add the prefix of each application, eg app_aros, app_acos

ACL with custom tables

2012-10-01 Thread Mio Miguel Galang
Hi Everyone, I set up simple ACL in my site. I followed this tutorial http://book.cakephp.org/2.0/en/tutorials-and-examples/simple-acl-controlled-application/simple-acl-controlled-application.html It's from the cookbook. <https://lh3.googleusercontent.com/-yAfcRRps2o4/UGkS1wwimkI/AAA

ACL

2012-09-13 Thread eyjakulufulee_eeeeee_makarena
My problem: i have 4 tables for users: Groups Users ProfileGoups Profiles so at the beggining in Groups i would like to have 3 groups Guest (for guest visits to enable display pages and index view blog posts etc) Account Group to enable add profiles and Admin. and here is my problem how to Acl

Re: node in Acl behavoir

2012-08-29 Thread lowpass
Does your model have AclBehavior set up? public $actsAs = array('Acl' => 'controlled'); On Tue, Aug 28, 2012 at 12:07 PM, Elhelaly wrote: > Using Cakephp 2.1.2 > I am trying to make a method to generate the Aco's (check if there is a new > controller or

node in Acl behavoir

2012-08-28 Thread Elhelaly
Using Cakephp 2.1.2 I am trying to make a method to generate the Aco's (check if there is a new controller or methods and add it in aocs table) I have a problem with using the node method , get this error Database Error *SQL Query: * node my method code in usersController.php public function

Re: Basic ACL tutorial in 1.3 book will not work because Auth is not setting Auth.User

2012-08-24 Thread osucoder
Can anyone help me? On Sunday, August 5, 2012 7:13:02 PM UTC-4, osucoder wrote: > > I cannot get the login function to work after following the acl tutorial. > I'm getting an "Auth.User doesn't exist" error when I dump the Session > variable after calling

Basic ACL tutorial in 1.3 book will not work because Auth is not setting Auth.User

2012-08-05 Thread osucoder
I cannot get the login function to work after following the acl tutorial. I'm getting an "Auth.User doesn't exist" error when I dump the Session variable after calling "$this->Session->read('Auth.User);" If searched all over the place for an answer and

Re: ACL - how to set user permissions along with group permission

2012-07-27 Thread rchavik
On Friday, July 27, 2012 8:39:01 PM UTC+7, bigjimmi wrote: > > Hi, thanks for the reply. Basically I'm wanting to add access control > permissions to individual db rows? but I guess that would be the same as > allow access to /modelname/view/1? Struggling to find any info on this. Checkout ce

Re: ACL - how to set user permissions along with group permission

2012-07-27 Thread bigjimmi
wrote: > > Hi, I've followed the cake acl tutorials and have a working example. > However the tutorial is purely based around groups (it tells you to add > some code that disregards users and just looks at group permissions). How > can I keep the groups working but also override th

Re: ACL - how to set user permissions along with group permission

2012-07-27 Thread Dr. Tarique Sani
too many TLAs ;-) On Fri, Jul 27, 2012 at 4:51 PM, bigjimmi wrote: > Hi, I've followed the cake acl tutorials and have a working example. However > the tutorial is purely based around groups (it tells you to add some code > that disregards users and just looks at group permissio

ACL - how to set user permissions along with group permission

2012-07-27 Thread bigjimmi
Hi, I've followed the cake acl tutorials and have a working example. However the tutorial is purely based around groups (it tells you to add some code that disregards users and just looks at group permissions). How can I keep the groups working but also override things for individual

  1   2   3   4   5   6   7   8   9   10   >