Help:User rights and user groups

From semantic-mediawiki.org
Jump to: navigation, search
Table of Contents

This help page gives an overview to the user rights and user groups provided by Semantic MediaWiki together with the features connected with them.

Summary

This table summarizes the strings one can use for the configuration in the "LocalSettings.php" file of a wiki. See also the manual on user rights on MediaWiki.org for how to do this.

user right user group user action
smw-admin smwadministrator Accessing special page "SemanticMediaWiki"Provides functions for wiki administrators that assist in doing their administration work (SMW ≥ 2.5.0) / "SMWAdmin" (SMW 0.3 to SMW 2.4.x) and using the functionality connected with it
smw-pageedit smwcurator Editing pages annotated with a positive truth value for special property "Is edit protected"Stores the status of an edit restriction of a page
smw-patternedit smwcurator Editing system message "Smw allows pattern" and setting up the functionality connected with it

User rights

smw-admin

Semantic MediaWiki 1.5.1 to Semantic MediaWiki 1.8.0 required users to have the "delete" right to access special page "SemanticMediaWiki"Provides functions for wiki administrators that assist in doing their administration work (SMW ≥ 2.5.0) at that time known as "SMWAdmin" (SMW 0.3 to SMW 2.4.x).

Semantic MediaWiki 1.9.0 introduced the user group "Administrator (Semantic Mediawiki)" (smwadministrator) together with the "smw-admin" user right allowing to control access to this special page.12 Accessing this special page is for legacy reasons still also tied to the administrator (sysop) user group of MediaWiki core by default via the "smw-admin" user right.

  • The "smw-admin" is by default assigned to the user groups "Administrator (Semantic Mediawiki)" (smwadministrator) and "Administrator" (sysop).
NoteNote: The "smw-admin" user right should only be granted to users that require database and database table access.

smw-pageedit

Semantic MediaWiki 2.5.0 introduced special property "Is edit protected"Stores the status of an edit restriction of a page together with the "smw-pageedit" user right allowing to limit edit access to all pages holding this special property with a positive truth value, e. g. "true".3

  • For this feature to work the "smw-pageedit" user right which is provided by default must be added to the configuration parameter $smwgEditProtectionRightSets the user right required to edit pages which are edit protected with special property "Is edit protected" in "LocalSettings.php". It is however also possible to add a different existing user right including a self defined one to this configuration parameter.
  • The "smw-pageedit" user right is by default only assigned to user group "Curator (Semantic Mediawiki)" (smwcurator)
NoteNote: The "smw-pageedit" user right should only be granted to trusted users that are proficient in working with properties.

smw-patternedit

Semantic MediaWiki 2.4.0 introduced the user group "Curator (Semantic Mediawiki)" (smwcurator) together with the "smw-patternedit" user right allowing to limit edit access to the "Smw allows pattern" system message.45

  • The "smw-patternedit" is by default only assigned to user group "Curator (Semantic Mediawiki)" (smwcurator)
  • This user right was introduced to manage edit permission to system message "MediaWiki:Smw allows pattern" 4 with the objective to minimize the group of users who can actively add regular expression patterns (see also the help page on special property "Allows pattern"Pattern to match a permissible value for further information)
NoteNote: The "smw-patternedit" user right should only be granted to trusted users that are proficient in working with regular expressions.

See also



This documentation page applies to all SMW versions from 1.9.0 to the most current version.
     

Help:User rights and user groups en 1.9.0


References