open-admin
open-admin copied to clipboard
Multiple admin users with different permissions
Hi, I need to create an administrator user who can only access some admin menu items, but there is no section for creating different admin roles. Has someone already done it? Thanks
you can assign a role / permission to each menu item, adimistrator has access to all... create a role, your permissions, assign the permissions to the role.. assign the role to the menu, user cannot be an admin and only do some stuff.. need to define your permissions structure and create a user and assign the given roles/permissions
https://open-admin.org/docs/en/permission
Hi, sorry but I can't figure out where I can associate the user with the new role. Or should I show what I want based on the user ID? I have a user who needs to access the admin panel with the "editor" role. This role allows to use only some admin menu voices.
thanks
https://open-admin.org/docs/en/permission
Please see the documentation regarding permissions
admin_role_user
assign role on user controller