[Django] #35543: Contribution: new management commands for contrib.auth (grantpermissions, revokepermissions)

9 views
Skip to first unread message

Django

unread,
Jun 20, 2024, 10:16:15 AM6/20/24
to django-...@googlegroups.com
#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.

Django

unread,
Jun 20, 2024, 10:41:58 AM6/20/24
to django-...@googlegroups.com
#35543: Contribution: new management commands for contrib.auth (grantpermissions,
revokepermissions)
----------------------------------+--------------------------------------
Reporter: Florian Schieder | Owner: nobody
Type: New feature | Status: closed
Component: contrib.auth | Version: 5.0
Severity: Normal | Resolution: wontfix
Keywords: | Triage Stage: Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
----------------------------------+--------------------------------------
Changes (by Sarah Boyce):

* resolution: => wontfix
* status: new => closed

Comment:

Hi Florian, thank you for raising this ticket!

For new feature requests, the recommended path forward is to first propose
and discuss the idea on the [https://forum.djangoproject.com/c/internals/5
Django Forum]. You'll reach a wider audience and likely get extra feedback
👍

I'll close the ticket for now, but if there is a community agreement for
this, you are welcome to come back to the ticket and point to the forum
topic, so we can then re-open it. For more details, please see
[https://docs.djangoproject.com/en/stable/internals/contributing/bugs-and-
features/#requesting-features the documented guidelines for requesting
features].
--
Ticket URL: <https://code.djangoproject.com/ticket/35543#comment:1>

Django

unread,
Jun 21, 2024, 2:34:16 AM6/21/24
to django-...@googlegroups.com
#35543: Contribution: new management commands for contrib.auth (grantpermissions,
revokepermissions)
----------------------------------+--------------------------------------
Reporter: Florian Schieder | Owner: nobody
Type: New feature | Status: closed
Component: contrib.auth | Version: 5.0
Severity: Normal | Resolution: wontfix
Keywords: | Triage Stage: Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
----------------------------------+--------------------------------------
Comment (by Florian Schieder):

Thank you very much for the quick response – I agree the ticket system is
the wrong place to handle this proposal for the time being so I created a
new [https://forum.djangoproject.com/t/contribution-new-management-
commands-for-contrib-auth-grantpermissions-revokepermissions/32304 forum
topic].
--
Ticket URL: <https://code.djangoproject.com/ticket/35543#comment:2>
Reply all
Reply to author
Forward
0 new messages