문제

i'm learnign Drupal and i'm loving it; but i have a problem: i build sites that have a protected area accessible only to site admins; i want to create a pseudo-admin role that has access to protected area but i don't want they access full admin/ Drupal functionalities.

Which is the best thing to do in this case? Can i create a sub-admin area with styled access only to some areas (like create content and others) without reinventing the wheel?

Thanks in advance and greetings ! c.

도움이 되었습니까?

해결책

Yes.

Create a role, set the role permissions ( /admin/user/permissions ) to just what you need them to access.

If you need a styled theme for these users, check out sections module, you can do role and url specific themes.

다른 팁

If you want to grant permissions beyond content management, you may consider Site Configuration Permissions.

The following permissions are added:

  • administer administration theme
  • administer clean-urls
  • administer date-time
  • administer error reporting
  • administer file system
  • administer modules
  • administer performance
  • administer site information
  • administer site maintenance
  • administer themes
  • display site building menu
  • display site configuration menu

Like troynt said, the sections module is usually good for this type of thing. It depends on your requirements, but when I once needed to set up a user section that was separate from the site and only shared certain data, so I set up a multisite with some shared tables

If you are using Drupal 6 go under User Management / Roles and create a new Role (say subadmin) and grant him the rights for Dupal 7 go under People / Permissions / Roles tab click where you add new Role and grant permissions.

Refer this Link :

http://planetghost.com/make_new_role

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top