#35543: Contribution: new management commands for contrib.auth
(grantpermissions,
revokepermissions)
--------------------------------------------+------------------------
Reporter: Florian Schieder | Owner: nobody
Type: New feature | Status: new
Component: contrib.auth | Version: 5.0
Severity: Normal | Keywords:
Triage Stage: Unreviewed | Has patch: 0
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
UI/UX: 0 |
--------------------------------------------+------------------------
Dear Django team,
I developed two management commands `grantpermissions` and
`revokepermissions` for our CMS based on Django CMS.
That was very useful to simply grant plugin permissions for many plugins
across different CMS instances.
Under the hood, plugin permissions are entirely based on
`django.contrib.auth.models.Permission`,
`django.contrib.auth.models.Group` and
`django.contrib.contenttypes.models.ContentType`.
Therefore the commands I implemented are fully independent from our own
CMS solution as well as it does not depend on Django CMS.
The only dependencies are the `contenttypes` and `auth` contrib
applications. Thus I decided to contribute those commands and the related
unit tests to the Django project.
I create this ticket to collect feedback if this sounds like a rational
contribution and if you are interested in it by filing a PR against the
`django` GitHub repository.
yours sincerely,
Florian Schieder from Germany
--
Ticket URL: <https://code.djangoproject.com/ticket/35543>
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 on the web visit
https://groups.google.com/d/msgid/django-updates/0107019036014210-e86c4121-1553-4aeb-87d9-52898baf4872-000000%40eu-central-1.amazonses.com.