Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
ACL - how to set user permissions along with group permission
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  4 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
bigjimmi  
View profile  
 More options Jul 27 2012, 7:21 am
From: bigjimmi <james.jac...@eclipselegal.co.uk>
Date: Fri, 27 Jul 2012 04:21:01 -0700 (PDT)
Local: Fri, Jul 27 2012 7:21 am
Subject: ACL - how to set user permissions along with group permission

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 users?

Thanks in advance


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Dr. Tarique Sani  
View profile  
 More options Jul 27 2012, 7:57 am
From: "Dr. Tarique Sani" <tariques...@gmail.com>
Date: Fri, 27 Jul 2012 17:27:08 +0530
Local: Fri, Jul 27 2012 7:57 am
Subject: Re: ACL - how to set user permissions along with group permission
There is nothing stopping you from treating a single person as a
group. IOW the person becomes the ARO you may have to write some
additional code with if group || username kind of conditions

OTOH are you looking for row level permissions? That is a different
game altogether

HTH
Tarique

P.S. OMG too many TLAs ;-)

On Fri, Jul 27, 2012 at 4:51 PM, bigjimmi

--
=============================================================
PHP for E-Biz: http://sanisoft.com
=============================================================

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
bigjimmi  
View profile  
 More options Jul 27 2012, 9:39 am
From: bigjimmi <james.jac...@eclipselegal.co.uk>
Date: Fri, 27 Jul 2012 06:39:01 -0700 (PDT)
Local: Fri, Jul 27 2012 9:39 am
Subject: Re: ACL - how to set user permissions along with group permission

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.

Thanks in advance


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
rchavik  
View profile  
 More options Jul 27 2012, 10:40 am
From: rchavik <rcha...@gmail.com>
Date: Fri, 27 Jul 2012 07:40:14 -0700 (PDT)
Local: Fri, Jul 27 2012 10:40 am
Subject: Re: ACL - how to set user permissions along with group permission

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 ceeram's Authorize plugin in github.

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »