#36084: Add a `role_required` decorator to Django's authentication system for 
role-
based access control.
-------------------------------------+-------------------------------------
     Reporter:  H_coder              |                    Owner:  (none)
         Type:  New feature          |                   Status:  closed
    Component:  contrib.auth         |                  Version:  5.1
     Severity:  Normal               |               Resolution:  wontfix
     Keywords:  auth, decorator,     |             Triage Stage:
  feature                            |  Unreviewed
    Has patch:  1                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------
Changes (by Mariusz Felisiak):

 * cc: H_coder (removed)
 * cc: Mariusz Felisiak (added)
 * resolution:   => wontfix
 * status:  new => closed

Comment:

 Thanks for this ticket, however,  the current thread is to keep Django a
 core framework, not providing every utility which might be useful. You can
 handle "roles" as permissions assigned to users. As far as I'm aware there
 is no need for a separate mechanism.

 If you don't agree, please first start a discussion on the
 DevelopersMailingList, where you'll reach a wider audience and see what
 other think, and
 [https://docs.djangoproject.com/en/stable/internals/contributing/bugs-and-
 features/#requesting-features follow the guidelines with regards to
 requesting features].
-- 
Ticket URL: <https://code.djangoproject.com/ticket/36084#comment:1>
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 view this discussion visit 
https://groups.google.com/d/msgid/django-updates/0107019455c52d49-d4ffece2-9afe-4cf3-8d1a-1fc86e417b24-000000%40eu-central-1.amazonses.com.

Reply via email to