Manual:Setting user groups in MediaWiki/sv

MediaWiki har som standard flera användargrupper som kan ge användare vissa rättigheter. Läs också listan över grupper.

Special:UserRights
There is a simple interface (Special:UserRights) for adding a user to or removing a user from one or more user groups. To do this the acting user must have the  user right, which by default is granted to the  user group. You can access Special:UserRights directly or via Special:SpecialPages in the toolbox on the left. You can also view the rights an individual group has by accessing the Special:UserGroupRights special page.

For help in using Special:UserRights, refer to.



Från AI
If you are developing a gadget, a bot (an admin bot) or other stuff that should be able to change user's groups through the API, see the page.

From the command line
The maintenance script can add groups to a user from the command line:

There is no way to remove a group from a user from the command line, without directly modifying the database.



Från källkod
If you are developing a MediaWiki extension such as a custom authentication manager or other stuff that should be able to change user's groups, you can have a look at these methods:



As documented into the https://doc.wikimedia.org/mediawiki-core/master/php/User_8php_source.html page.



Relaterade sidor

 * — Förklaring av olika "rättigheter" som kan tilldelas grupper