Topic on Project:Support desk

[RESOLVED] how to set create page/edit a page permission to a group?

6
Asafm14567 (talkcontribs)

$wgGroupPermissions['user']['edit'] = true; $wgGroupPermissions['user']['createpage'] = false;

$wgGroupPermissions['user']['edit'][createpage] = false;

i tried couple of combination but doesnt seem to work

the thing is all i need from the group users to have the option to edit pages but all of the permissions on "edit" to be blocked (false)

how can i do this please help

thanks in advance!

88.130.88.181 (talkcontribs)
84.95.206.229 (talkcontribs)

i read it and i even used http://www.mediawiki.org/wiki/Manual:User_rights to get all the right permissions

$wgGroupPermissions['user']['read'] = true; $wgGroupPermissions['user']['edit'] = true; $wgGroupPermissions['user']['createpage'] = false;

i put in this permissions but it doesnt work the members of the user group can still create pages (you search for a page and do create page)

how to make this work???

88.130.114.249 (talkcontribs)

Is your wiki in the internet? If you tell me the URL, I'll have a look at the group permissions.

84.95.206.229 (talkcontribs)

no its in a private network but here is the entire permissions from the localsettings.php


$wgGroupPermissions['*']['read'] = false; $wgGroupPermissions['user']['read'] = true; $wgGroupPermissions['user']['edit'] = true; $wgGroupPermissions['user']['createpage'] = false; $wgGroupPermissions['Editors']['read'] = true; $wgGroupPermissions['Editors']['edit'] = true; $wgGroupPermissions['Administrators']['read'] = true; $wgGroupPermissions['Administrators']['edit'] = true; $wgGroupPermissions['Administrators']['administration'] = true; $wgGroupPermissions['Administrators']['technical'] = true;

thanks for the help

84.95.206.229 (talkcontribs)

FIXED found out the issue was that the all group (*) had the permissions caused this issue

Reply to "[RESOLVED] how to set create page/edit a page permission to a group?"