Hi Ed,
Are you trying to say managing the actions only and sometimes it
affects your CRUD ?
I'm not en expert in this area, but giving my shot is:
Use routing? That area is strange for me.
Are you trying to hide some of the CRUD buttons for some users and not
all?
I think you can do that, I
Hi John,
I do use a plugin to manage permissions and it seems to work quite
well
although I still prefer the shell interface for adding/removing aro/
aco
and creating permissions on the fly.
The grey area for me right now is authorizing CRUD vs. otherActions.
I know that I can use
Hi Ed,
You can customise your users permission using ACL plugin. I suggest
finding one on your own, the current one I use has a drawback when I
have over 10 groups with different permission settings. The role
permission setting stops working. However, it's still effective if I
view users roles or
-Original Message-
From: cake-php@googlegroups.com [mailto:cake-...@googlegroups.com] On Behalf
Of scs
Sent: January-15-10 12:51 PM
To: CakePHP
Subject: Re: ACL Question
Make sure you do not have
var $components = array('Acl');
in you app_controller or any other controllers
On Jan 14, 8
Make sure you do not have
var $components = array('Acl');
in you app_controller or any other controllers
On Jan 14, 8:48 pm, Dave make.cake.b...@gmail.com wrote:
I get this error as soon as i login
Could not find AclComponent. Please include Acl in Controller::$components.
Yeah it was only in the app_controller, but I just dumped cache folder and
seemed to clear it up.
Thanks,
Dave
-Original Message-
From: cake-php@googlegroups.com [mailto:cake-...@googlegroups.com] On Behalf
Of scs
Sent: January-15-10 12:51 PM
To: CakePHP
Subject: Re: ACL Question
Make
Yeah it was only in the app_controller, but I just dumped cache folder and
seemed to clear it up.
If it's in AppController then all controllers inherit and will use it.
Any components you put in a specific controller are merged with
Appcontroller's, not overwritten.
j
--
jon bennett -
I know.
I was removing ACL from the app. It was only in app_controller but when I
removed it I was getting errors. That's all, its all good.
Thanks
Check out the new CakePHP Questions site http://cakeqs.org and help others with
their CakePHP related questions.
You received this message
You could make more then one database config item and use them on the
required tables?
On Jun 25, 2:39 am, brian bally.z...@gmail.com wrote:
On Wed, Jun 24, 2009 at 3:09 PM, zoniumzon...@gmail.com wrote:
I do use prefix param for some other projects where ACL is NOT
utilized.
However, my
On Jun 25, 2:39 am, brian bally.z...@gmail.com wrote:
On Wed, Jun 24, 2009 at 3:09 PM, zoniumzon...@gmail.com wrote:
I do use prefix param for some other projects where ACL is NOT
utilized.
However, my particular concern is about ACL component, I am not sure
if ACL component respects
On Thu, Jun 25, 2009 at 5:13 AM, Waltherwaltherl...@gmail.com wrote:
You could make more then one database config item and use them on the
required tables?
Good point. I tend to think of the DB configs as being for a specific
database. Of course, there's nothing stopping you from using the
On Tue, Jun 23, 2009 at 11:25 PM, zoniumzon...@gmail.com wrote:
We are forced to follow some naming conventions for our tables (some
prefix needs to be added to the table names). I am going to use ACL
component, but I wonder if I can use different names for aros, acos
and acos_aros tables
I do use prefix param for some other projects where ACL is NOT
utilized.
However, my particular concern is about ACL component, I am not sure
if ACL component respects $prefix param. (i.e. the sql statements to
create aros and acos table do not take prefix into account).
Aslo, when we specify
On Wed, Jun 24, 2009 at 3:09 PM, zoniumzon...@gmail.com wrote:
I do use prefix param for some other projects where ACL is NOT
utilized.
However, my particular concern is about ACL component, I am not sure
if ACL component respects $prefix param. (i.e. the sql statements to
create aros and
For baked forms it means the forms autogenerated by bake. If you
haven't used bake yet, it's a command line utilities that let you auto-
generate basic models, controllers and views, starting from your db
structure. You can find more informations on the documentation.
The basic class created by
Not sure I follow, does the usergroups table not join the users and
groups?
I have my ACL set up with the following HABTM:
// Link to jobs
var $hasAndBelongsToMany = array(
'Slot' =
array(
'className' = 'Slot',
'joinTable'
The first step you should do is to write out an example of what you
want your ARO tree to look like. I think it will then be easier for
someone to help you out.
For example, I often have a tree that looks like the following:
Superusers
Users
--Staff
John Kramer
Alex Wylde
Managers
Thanks a milion, it works now!
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Cake
PHP group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to [EMAIL
Not, that is a bug in ACL component, ticket:
https://trac.cakephp.org/ticket/3851 , fixed on :
https://trac.cakephp.org/changeset/6342 . Update your cake.
On Jan 16, 2008 3:11 PM, alex.tomes [EMAIL PROTECTED] wrote:
My situation is this: I have AROs nested: Admins and as a child of
that
Anyone any ideas? Surely ACL shouldn't be this hard?
By the way, I'm using PHP 5 and Cake 1.2.
On 31 Aug, 10:44, Paul [EMAIL PROTECTED] wrote:
Hi there,
I'm getting more and more frustrated withACL, so please someone help
me before I drive myself mad! I'm sure once I'm over this last
Hi Langdon
Your code sent me off in the right direction, so thank you for your
help. However I had to make substantial changes, because you code did
not fit with my user-model (and not with the functions avalible in
cake 1.2). Allow me to explain (for general edification):
I have a user model
Duh... I posted to soon, this is the function:
function _getAllowedIds ($model, $access_type) {
//this function returns a comma delimited string of id's that the
logged in user has access to in the model given.
$aro = new Aro();
// Get the username. It may be
Hi Nina
Glad I could be of some assistance :-)
Regards,
Langdon
Nina wrote:
Hi Langdon
Your code sent me off in the right direction, so thank you for your
help. However I had to make substantial changes, because you code did
not fit with my user-model (and not with the functions
Hi Nina
snip
However, what I'd like is a simple command to find all pictures that a
given user has access to. I realize that I can find all pictures and
check them one by one. However, this seems expensive to me (one query
to get all pictures and then N queries to check the permissions).
24 matches
Mail list logo