Hi,

I know this - this is what I means by groups of users. But I also need a "per 
object permissions", like you can find for example for djnago in 
django-guardian - https://github.com/lukaszb/django-guardian

The "per object permissions" is different from the "groups permissions"; it's 
complementary and actually I need both.

Damien

----- Mail original -----
De: "neeraj mishra" <[email protected]>
À: [email protected]
Envoyé: Mercredi 12 Février 2014 11:27:33
Objet: Re: [TurboGears] ACL authorization 'out-of-the-box' ?


HI, 
If you look into the bootstrap.py file inside websetup folder, you can make new 
users, put them in certain groups and give them the required permission. Then 
for the controllers in which you want only the authorize person should go, you 
can use the tg.predicates(). Visit this 
(http://turbogears.readthedocs.org/en/latest/turbogears/authorization.html) 
link to know how to use the tg.predicates. 

On Tuesday, 11 February 2014 20:53:29 UTC+5:30, lebouquetin wrote: 

Hi all, 

I have to implement a web application with authorization based on both "groups" 
of users (ie admin, simple user, etc) and ACL on some entities (ie a user can 
access his own entities). 

Do you know a module or pluggable app implementing something like this 
"out-of-the-box"? 

Thanks. 

Damien 


-- 
You received this message because you are subscribed to the Google Groups 
"TurboGears" group. 
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected]. 
To post to this group, send email to [email protected]. 
Visit this group at http://groups.google.com/group/turbogears . 
For more options, visit https://groups.google.com/groups/opt_out . 

-- 
You received this message because you are subscribed to the Google Groups 
"TurboGears" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/turbogears.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to