xadmin
xadmin copied to clipboard
Own get_site_menu for portal and privileges problem
I created own get_site_menu like defined here: https://xadmin.readthedocs.org/en/latest/views_api.html, but it works well only when I'm using django's permissions (have to select permissions for user via admin panel).
I would like to control what parts of site menu is shown by admin panel methods 'has_*_permission'.
How to do it ?
I resigned to do thing that way. Now I'm using default django permissions and permissions for groups.
That's fine for me.