Skip to content

Add a get_user_permissions management command #1

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Add a get_user_permissions management command #1

wants to merge 1 commit into from

Conversation

synw
Copy link

@synw synw commented Feb 26, 2018

Hi, your module gave me the idea of inspecting user permissions for my django-introspection module.

I made a get_user_permissions management command that outputs the permissions of a given user.

I made a pull request to see if you are interested, otherwise I'll put it in my module. Note that this would add a dependency on django-introspection, which may not be what you want.

Copy link

@jayvdb jayvdb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this is a very useful addition, but it has bitrot a bit.

IMO it wouldnt hurt to add it to your own package as well, where it may be maintained more often.

@@ -0,0 +1,54 @@
from __future__ import print_function
from django.core.management.base import BaseCommand
from goerr import err
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

breaks here now; should be Err, and I needed to remove all of the error logging.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants