Topic on Project:Support desk

How to exclude users from "move"

6
Koalopete (talkcontribs)

I set $wgGroupPermissions['user']['edit'] = false; but they still can move the page. The docs say that "move" requires the edit right. What am I doing wrong? Thanks

87.123.50.212 (talkcontribs)

Maybe the docs are wrong?

Koalopete (talkcontribs)

I don't know. That is why I am asking here.

Music1201 (talkcontribs)

@Koalopete Try adding the following to LocalSettings:

$wgGroupPermissions['user']['move'] = false;

87.123.50.212 (talkcontribs)

Note that permissions from $wgGroupPermissions are cumulative: If the user is member of only one single group, which grants him the edit right, then setting the move right to true for another of the user's groups will effectively allow him to move pages - even if for that group, where the move right comes from, the edit right has been set to false.

Koalopete (talkcontribs)

Thanks, I could not figure out why a user can move a page despite edit is not allowed. I endet up setting all possible permissions for "user" to false and grant the appropriate permissions one by one to my groups.

Reply to "How to exclude users from "move""