#24754: Implementation of global permissions
------------------------------+--------------------
     Reporter:  autrilla      |      Owner:  nobody
         Type:  New feature   |     Status:  new
    Component:  contrib.auth  |    Version:  1.8
     Severity:  Normal        |   Keywords:
 Triage Stage:  Unreviewed    |  Has patch:  0
Easy pickings:  0             |      UI/UX:  0
------------------------------+--------------------
 Right now, there are two ways of creating Permissions, either through a
 Model's Meta class, or using the Permission.objects.create method. The
 problem is, both of this ways require having the permission attached to a
 model, even when sometimes it does not really make sense. There are ways
 to work around this, of course, such as creating a dummy model just to
 hold permissions that don't really fit anywhere or overriding the default
 User model and fitting them there. Possible solutions I can think of are
 either removing the mandatory ContentType specification on the Permission
 model or providing a 'global' ContentType.

--
Ticket URL: <https://code.djangoproject.com/ticket/24754>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" 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].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/051.05c9451dfd479de45699ca190fa9d14c%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to