Thread:Project:Support desk/Is it possible to disable EDIT for logged in users?/reply (6)

Let's use the other guy's example. In your LocalSettings.php, add these two lines: $wgGroupPermissions['user']['edit'] = false; $wgGroupPermissions['editor']['edit'] = true;

In the first line, the 'user' keyword refers to ALL logged in users. This is MediaWiki-defined.

In the second, the 'editor' keyword refers to the custom group you are creating (this can be any name). Merely by adding this line, you are creating a new group called 'editor'.

These two lines modify their privileges to edit. So all logged users are unable to edit, and only those under "editor" can.

Using an administrator account, go to the Special:UserRights. Search for a username you wish to add to the group, and you'll see that there's a new group in the options called "editor". Select it then save to add a user to the group.

Note that the above only creates 1 new group. You can read Manual:User_rights to see the additional customizations you can do to the group.