mediacms icon indicating copy to clipboard operation
mediacms copied to clipboard

Hide 'Upload media' and 'My media' from left nav if user is not advancedUser

Open petr0ff opened this issue 2 years ago • 0 comments

Describe the feature you'd like There is a setting CAN_ADD_MEDIA is settings.py. If I set it to "advancedUser" then user who is not advanced cannot upload media - it's ok, it works on permissions level. My suggestion is to hide both 'Upload media' and 'My media' for all users who have not "Advanced user" checked in django admin settings and if CAN_ADD_MEDIA="advancedUser".

Describe alternatives you've considered A clear and concise description of any alternative solutions or features you've considered.

Additional context Add any other context or screenshots about the feature request here.

petr0ff avatar Jul 22 '22 11:07 petr0ff