欢迎各位兄弟 发布技术文章

这里的技术是共享的

You are here

admin role 设定一个全部权限的角色

admin role 是给某一个用户全部角色是给某一个用户全部角色(除了update.php的权限(这个权限只有admin 即user=1时才拥有))其它权限都有 What is the Admin Role module?The admin role module is a Drupal module that creates a super admin role that can be assigned to any number of users, giving the Drupal site multiple super admins instead of only one What features does the Admin Role module offer?The admin role module provides some very nice features including:
  • Automatically create a administrator role that has all the permissions for the Drupal site
  • Automatically assigns new permissions to the role when new modules are added to the site
  • The ability to enable or disable the administrator role
  • The ability to treat the administrator role like a regular Drupal role, thus opening the possibility to great features to come
Steps to install and configure the admin role module:Download the module from http://drupal.org/project/adminroleExtract and copy the module directory to the sites/all/modules directory on your siteEnable the module 4. Navigate to yourdomain.com/admin/user/settings and make sure that the administrator setting is not Disabled5. If you navigate to yourdomain.com/admin/user/roles you can see that a new administrator role was added by the module6. If you navigate to yourdomain.com/admin/user/permissions you can see that the administrator role was given all permissions by default7. When you add a new user to your site from yourdomain.com/admin/user/user/create you can assign the administrator role to it just like any other regular Drupal roleAs you can see the admin role module is very useful and has a lot of nice featuresI hope you enjoyed this Module Preview and stay tuned for more to come
普通分类: