Skip to content
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

Admin integration #25

Open
joaoponceleao opened this issue Jun 20, 2016 · 2 comments
Open

Admin integration #25

joaoponceleao opened this issue Jun 20, 2016 · 2 comments

Comments

@joaoponceleao
Copy link

Hi,
This is a question/feature request.
I really like the concept behind this package. However, I'm not sure how one could use it in django's admin. Even though DRF is now working on an admin, I don't think it competes with django's own yet, so I like to give certain users access to django's admin page.

The question is, how to implement the permissions rules in the admin itself? i.e. admins of a certain object should have r/w permissions for that object in the admin but not for any other. Is this possible? I don't mind using another package for this, as long as the rules are coming from dry-rest-permissions. Is there a possibility to extend dry-rest-perms to support the admin or take advantage of another package that is already well integrated with the admin (i.e. django-guardian's admin integration receiving its rules from dry-rest)?

@dbkaplan
Copy link
Owner

Currently there is no hook in for the django admin pages. This has been requested once before, but I haven't gotten to it yet.

@joaoponceleao
Copy link
Author

Cool. Its obviously a low priority. I had seen the request on twitter before, but thought this was a better place to put it.

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

No branches or pull requests

2 participants