Drupal: How to implement a SECOND admin with less privileges than a regular and native theme?

I'm currently trying to implement the second (lower) admin level in drupal. I made an additional section using a module with the same name for these users so that they have their own theme, etc. I want to provide these second or lower administrators with menus in my section of the page where they can access some administrator functions, for example, administer other users and certain types of content, etc. The biggest problem I am facing is a security mismatch, for example, the second administrator can make himself a full-fledged administrator, because I use drupals for my own basic administrator functions and where I can’t figure out how to permanently block certain functions, but allow others. In this case, I wantso that the second administrator can create and change user roles in a lower hierarchy than himself, but cannot change or create real admins. This is only part of the problem, however, the smaller problem is that I cannot save my theme for the second administrator section without having to duplicate the existing administrator views (for example, for users and content) and set duplicates for the path under my section. Any suggestions?for users and content) and set duplicates for the path under my section. Any suggestions?for users and content) and set duplicates for the path under my section. Any suggestions?

+5
source share
1 answer

This would probably be best achieved by creating a role (admin / user / role) and then defining role permissions (admin / user / permissions). Then just create the user (admin / user / user / create) that belongs to this role, define the menu (admin / build / menu) with the links that you want them to have access to, then move the menu block (admin / build / block) to the region you want, and then configure it only for that specific role.

, . /1 , , , .

+1

All Articles