Admin widget to display user_permissions in tabular format

154 views
Skip to first unread message

Ramez Ashraf

unread,
Dec 13, 2015, 3:12:24 AM12/13/15
to Django developers (Contributions to Django itself)
Hello, 
I came across the idea of having a new permissions widget that display basic permissions (add,change & delete)  in a tabular format, and fall back to FilteredSelectMultiple for any extra custom permissions
The merits of having this widget are:
1- Setting the permissions is more easy and user friendly, especially when the project have dozens of models.
2- The permissions are translated (fixes ticket 1688), since the html table is initially constructed via the apps and models themselves which give access to verbose_names. 

I created a ticket #25891 marked wont fix with a suggestion to build it in a third party and come back to you when i have something working, which exactly what i'm doing now. :-)

The newly created widget django-tabular-permission can be found here
https://github.com/RamezIssac/django-tabular-permissions

With screen shots available right on the README.

Congratulations on the MOSS grant,
Django (& you valuable community) are the best.

Kind regards;
Ramez 


James Pic

unread,
Dec 13, 2015, 11:12:53 AM12/13/15
to django-d...@googlegroups.com
Awesome, we can drop support on that one:
https://github.com/yourlabs/django-permissions-widget

Keep up the great work !!
Reply all
Reply to author
Forward
0 new messages