Friday, January 22, 2016

How do I override the default admin page permissions?

Currently I want to allow certain users access to a certain administrator page to allow or deny access for other users for a part of the tool.


I have overridden has_permission to grant access, however it says that "You don't have permission to edit anything".

I've since tried overriding has_add/delete/change_permission in the model_admin to true. but that's not helped the issue.

Anyone know how to do this?

I'd rather not create another group.

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CANOQRbxjEew63KLwsy783ezXdNZE4tEFsC2y02_LM_9KrhiZ1g%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment