Opened 6 months ago

Closed 6 months ago

Last modified 6 months ago

#35543 closed New feature (wontfix)

Contribution: new management commands for contrib.auth (grantpermissions, revokepermissions)

Reported by: Florian Schieder Owned by: nobody
Component: contrib.auth Version: 5.0
Severity: Normal Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

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

Change History (2)

comment:1 by Sarah Boyce, 6 months ago

Resolution: wontfix
Status: newclosed

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 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 the documented guidelines for requesting features.

comment:2 by Florian Schieder, 6 months ago

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 forum topic.

Note: See TracTickets for help on using tickets.
Back to Top