Using Drupal: 2.8操作: 配置权限

2.8. 操作: 配置权限

Now that we have roles in place, let's assign some permissions to control who can do what on the site:

  1. Head to Administerrightwards double arrowUser managementrightwards double arrowPermissions (admin/user/permissions).

  2. This screen, as seen earlier in Figure 2-32, is massive, and there's a lot to do here. We'll break this enormous table down one module at a time.

  3. Remember when we enabled the Administration Menu module in the previous section? Right now, User 1 is the only person who can see the useful drop-down navigation bar at the top. Let's enable this feature for both site administrators and editors, using the settings in Table 2-5. The "access administration menu" permission controls visibility of the admin bar, and the "display drupal links" permission specifies whether resources on Drupal.org should also be part of the menu. This is a useful permission for Goldie, but not so much for Mike and Jeanne, as they won't be troubleshooting site administration issues.






    Table 2-5. Permissions for the Administration Menu module
    Permission: admin_menu module anonymous user authenticated user editor site administrator
    access administration menu     Checked Checked
    display drupal links       Checked

同步内容