User rights and user groups

From semantic-mediawiki.org
User rights and user groups
User rights and user groups allow to assign/limit the usage of certain important features to proficient editors
Keywords
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[edit]

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
smw-schemaedit smwcurator Editing pages in namespace "smw/schema" and setting up the functionality connected with it

User rights[edit]

smw-admin[edit]

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).

The "smw-admin" user right should only be granted to users that require database and database table access.

smw-pageedit[edit]

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

The "smw-pageedit" user right is by default only assigned to user group "Curator (Semantic Mediawiki)" (smwcurator).

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 should only be granted to trusted users that are proficient in working with properties.

smw-patternedit[edit]

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 system message "Smw allows pattern".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.

The "smw-patternedit" user right should only be granted to trusted users that are proficient in working with regular expressions.

smw-schemaedit[edit]

Semantic MediaWiki 3.0.0Released on 11 October 2018 and compatible with MW 1.27.0 - 1.31.x. introduced namespace "smw/schema" together with the "smw-schemaedit" user right allowing to describe schema types individually according to schema types provided in configuration parameter $smwgSchemaTypes.67

The "smw-schemaedit" user right is by default only assigned to user group "Curator (Semantic Mediawiki)" (smwcurator).

The "smw-schemaedit" user right should only be granted to trusted users that are proficient in working with data schemas.

See also[edit]