On 14 déc, 22:49, bruno desthuilliers
wrote:
(snip)
> Else, you can always monkeypatch the User model. You may then want to
> use the descriptor protocol (http://docs.python.org/reference/
> datamodel.html#descriptors)
More here on descriptors:
http://users.rcn.com/python/download/Descriptor.htm
On 14 déc, 15:26, Yanik wrote:
> Hello,
>
> I need to build a custom ACL for the app I'm working on, Django's
> isn't specific enough (I need to give permissions based on IDs,
> statuses, etc.).
>
> I'd also like to attach it to the user, so that
Thanks, but this is to manipulate Posix ACL (user ACL on the actual
OS).
On Dec 14, 2:06 pm, "Ramdas S" wrote:
> http://pylibacl.sourceforge.net/
>
> check this
>
> Might help
>
>
>
> On Sun, Dec 14, 2008 at 7:56 PM, Yanik wrote:
>
> > Hello,
>
http://pylibacl.sourceforge.net/
check this
Might help
On Sun, Dec 14, 2008 at 7:56 PM, Yanik wrote:
>
> Hello,
>
> I need to build a custom ACL for the app I'm working on, Django's
> isn't specific enough (I need to give permissions based on IDs,
> stat
Hello,
I need to build a custom ACL for the app I'm working on, Django's
isn't specific enough (I need to give permissions based on IDs,
statuses, etc.).
I'd also like to attach it to the user, so that I could lookup in a
way something like User.acl.has_permission(post_id, &
5 matches
Mail list logo