Sunday, November 4, 2012

Re: Permissions and the sites framework

Hi Stodge,

The short answer is no -- there are no plans to do what you describe.

That said, what you describe shouldn't be too hard to write yourself. Permission checks are quite well abstracted into the auth backend, so you could fairly easily write your own authorisation app that adds a model that allows associations between Site and Permission (or site, user and permission - whatever you need), and an authentication backend that adds extends the base ModelBackend to also check your Site permissions.

Yours,
Russ Magee %-)

On Sun, Nov 4, 2012 at 10:36 PM, Stodge <stodge@gmail.com> wrote:
Are there any plans to change the Permissions to use the sites framework? To support multi-site on my site, I need the ability to assign different permissions to the same user on different sites. Alternatively, any suggestions how to achieve this? Thanks

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To view this discussion on the web visit https://groups.google.com/d/msg/django-users/-/ZrMuwfpe6hIJ.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.


--
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate