Help:User rights and user groups

From semantic-mediawiki.org
Jump to: navigation, search
Help:User rights and user groupsUser rights and user groups/Remove user groups
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.1Released on 31 May 2010 and compatible with MW 1.14.x - 1.17.x. to Semantic MediaWiki 1.8.0Released on 2 December 2012 and compatible with MW 1.17.0 - 1.22.x
(except 1.22.1).
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.0Released on 3 January 2014 and compatible with MW 1.19.0 - 1.22.x. 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.0Released on 14 March 2017 and compatible with MW 1.23.0 - 1.29.x. 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.0Released on 9 July 2016 and compatible with MW 1.19.0 - 1.27.x. 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

  • Help page on special page "User group rights" – Shows the user groups and user rights assigned to them on this wiki
  • Help page on removing user groups – Shows how the predefined user groups may be removed from a wiki
  • Help page on property pages – Informs about highlighted system messages used in connection with user rights


References

  1. ^  Semantic MediaWiki: Gerrit commit gerrit:smw:67988
  2. ^  Semantic MediaWiki: Phabricator task phab:mw:T50840
  3. ^  Semantic MediaWiki: GitHub pull request gh:smw:2232
  4. a b  Semantic MediaWiki: GitHub pull request gh:smw:1417
  5. ^  Semantic MediaWiki: GitHub commit gh:smw:4d0b9f9