getgrav / grav-plugin-admin

Grav Admin Plugin
http://getgrav.org
MIT License
355 stars 223 forks source link

admin customisations for restricted user #2352

Open learningtime2025 opened 1 year ago

learningtime2025 commented 1 year ago

Hello. i need some modifications to admin dashboard, is that possible to do it by myself? (please give some examples and direction) 1) user with limited rights, user cannot modify anything on the site except its own info. 2) hide reports link for that group of users 3) display custom link for that group, for example "menuitem1" or customized Widget (what would be easiest) 3.1) display content from file, different for each user. user must not see other's users content. something like "if username=$1 include /somepath/$1.file" $1.file is html or .md with its own twig template (what would be easiest)

bitstarr commented 10 months ago

For 1 and 2 you can create a group via the admin (/admin/accounts/groups/:add) and set what you like. For example you might want to enable loggin in to admin, read and list pages and deny most of the rest (including statistics/reports) For 3 you really should ask in the grav discord or the forum