Add additional checks for the user permissions

kiamlaluno - July 4, 2009 - 03:11
Project:Nodewords
Version:6.x-1.x-dev
Component:User interface
Category:task
Priority:normal
Assigned:Unassigned
Status:closed
Issue tags:6.x-1.0
Description

It could happen that the user cannot edit any of the meta tags that the modules define. In that case, the field set should not be shown at all; if the field set would appear in the module settings page, then an appropriate message should appear.

#1

kiamlaluno - July 4, 2009 - 05:36
Title:The code should verify if the user can edit any meta tags, and avoid to show the field set» Add additional checks for the user permissions

Actually, the form field set is not output, if the user don't have the permission to edit any of the meta tags.

The code should check if the user has any further permissions; in example:

  • In the node editing page, the user with the "administer nodes" permission can edit all the meta tags.
  • In the user editing page, the user with the "administer users" permission can edit all the meta tags.
  • The user that have permission to administer the meta tags can edit the meta tags shown in the module settings page.
  • In the views editing page, the user that has the permission to access that page has the permission to edit the views meta tags.

#2

kiamlaluno - July 4, 2009 - 05:38
Status:active» fixed

The code has been changed, and committed in CVS.

#3

kiamlaluno - July 5, 2009 - 00:45

#4

System Message - July 19, 2009 - 00:50
Status:fixed» closed

Automatically closed -- issue fixed for 2 weeks with no activity.

 
 

Drupal is a registered trademark of Dries Buytaert.