On Aug 4, 9:18 pm, lukaszb <lukaszbalcer...@gmail.com> wrote:
> Welll, at the django.contrib.auth there are only those (User and
> Group) models for which one may define permission sets and I wanted
> guardian to be as simply as possible - so it is not possible to assign
> permission to other model even if it "groups  users". At one point I
> thought it could be nice to implement some kind of "roles" but I've
> finally decided it would be better to stick to facilites provided by
> new Django version.
>
> On the other hand, I'm not sure if it is needed to create new
> "grouping models" - I often use intermediate models for this (i.e.
> Team model with fk to Group among other fields). Let me know if you
> have different experience.
>
> On 4 Sie, 15:26, derek <gamesb...@gmail.com> wrote:
>
> > On Aug 4, 1:20 am, lukaszb <lukaszbalcer...@gmail.com> wrote:
>
> > > Hi all,
>
> > > I'd like to announce django-guardian - very basic yet usable per
> > > object permissions
> > > implementation for Django 1.2, using new authorization backend
> > > facilities.
>
> > > It was created during 2 days sprint, code have been released and may
> > > be found athttp://github.com/lukaszb/django-guardian/.
> > > Documentation is available athttp://packages.python.org/django-guardian/.
>
> > > Currently I think there should be better integration with admin app
> > > and some shortcuts (permission assignment/removal)
> > > should support table-level permissions as well.
>
> > > If you spot a bug or have an idea how to improve this little app,
> > > please spare a minute at issue tracker, which is located 
> > > athttp://github.com/lukaszb/django-guardian/issues.
>
> > > Hope someone would find this useful.
>
> > No doubt this will be extremely useful!  For me, integration with the
> > Django admin is a must, though, as permissions will need to be
> > assigned by users themselves via the standard interface.
>
> > One (maybe stupid) question:  Can rights only be assigned to the pre-
> > specified "Group", or can any model that handles user grouping (I have
> > some custom ones in my app) be used?
>
> > Thanks
> > Derek

That's a pity; guess I will need to stick to my home-grown code in
that case.

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

Reply via email to