My goal: If user "foo" comes to the me (playing the admin role) and says: I 
don't have permissions for URL "foo-url", then I want to enter
the URL and the username into some admin interface and then the this should 
tell me why the user is allowed or not allowed to access the URL.

Example output:

User "foo" cannot access "foo-url" because he is missing the permission 
"bluefoo".

 or

User "foo" can access "foo-url" because he is has the permission "bluefoo" 
because he is member in the group "bluegroup".


AFAIK this is not possible at the moment.

Our applications grow and the permission handling gets more complex. I want 
a tool for operators/admins to check
the permission **and** the solution like "he needs perm ...". Just 
returning a boolean like: allowed or not-allowed does
not help.

Of course this should only be visible to admins. Normal users should get 
"permission denied".

What do you think?

Regards,
  Thomas Güttler

-- 
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+unsubscr...@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/32b9c8ea-99bd-4eaf-b229-71bafed055ec%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to