xadmin icon indicating copy to clipboard operation
xadmin copied to clipboard

Own get_site_menu for portal and privileges problem

Open mszpadzik opened this issue 12 years ago • 1 comments

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 ?

mszpadzik avatar Jan 23 '14 13:01 mszpadzik

I resigned to do thing that way. Now I'm using default django permissions and permissions for groups.

That's fine for me.

mszpadzik avatar Mar 05 '14 14:03 mszpadzik