Jump to content

Topic on Extension talk:Access Control Panel

Access right to Access Control Panel

4
205.189.22.177 (talkcontribs)

I am using ACP but even as sysop user I am getting you don't have access rights to this page. Following are setting in Localsettings.php

  1. Allow anonymous user to read the Main Page and login page

$wgWhitelistRead = array( ":Main Page", "Special:Userlogin"); $wgAccessControlPanelAllowedGroup = 'sysop';

  1. AccessControlPanel setting

$wgGroupPermissions['*']['createaccount'] = false; $wgGroupPermissions['*']['edit'] = false; $wgGroupPermissions['*']['read'] = true; $wgGroupPermissions[$wgAccessControlPanelAllowedGroup]['read'] = true; $wgGroupPermissions[$wgAccessControlPanelAllowedGroup]['edit'] = true;

  1. Enabled Extensions. Most extensions are enabled by including the base extension file here
  2. but check specific extension documentation for more details
  3. The following extensions were automatically enabled:

require_once( "$IP/extensions/ConfirmEdit/ConfirmEdit.php" ); require_once( "$IP/extensions/Gadgets/Gadgets.php" ); require_once( "$IP/extensions/Nuke/Nuke.php" ); require_once( "$IP/extensions/ParserFunctions/ParserFunctions.php" ); require_once( "$IP/extensions/Renameuser/Renameuser.php" ); require_once( "$IP/extensions/Vector/Vector.php" ); require_once( "$IP/extensions/WikiEditor/WikiEditor.php" );

Here are the user properties for user I am using to login as User rights log

   13:45, 11 July 2013 Itses (Talk | contribs | block) changed group membership for User:Itses from bureaucrat and administrator to bureaucrat, administrator, bot, 1card, Bookstore and DBA
Umdacc (talkcontribs)

Hello,

The LocalSettings.php you posted didn't show where is the line:

require_once("$IP/extensions/UMEduWiki/AccessControlPanel/AccessControlPanel.php");

Please note that the line:

$wgAccessControlPanelAllowedGroup = 'sysop';

must be inserted after the require_once line. Hope this helps.

205.189.22.177 (talkcontribs)

Thanks very much as it solved my problem and sorry for missing info. Here is how my LocalSetting.php looks like now and I can see the Control Panel now. I didn't know that order of contents in the file also matters; none of the documentation also pointed this fact.

  1. Enabled Extensions. Most extensions are enabled by including the base extension file here
  2. but check specific extension documentation for more details
  3. The following extensions were automatically enabled:

require_once( "$IP/extensions/ConfirmEdit/ConfirmEdit.php" ); require_once( "$IP/extensions/Gadgets/Gadgets.php" ); require_once( "$IP/extensions/Nuke/Nuke.php" ); require_once( "$IP/extensions/ParserFunctions/ParserFunctions.php" ); require_once( "$IP/extensions/Renameuser/Renameuser.php" ); require_once( "$IP/extensions/Vector/Vector.php" ); require_once( "$IP/extensions/WikiEditor/WikiEditor.php" );

  1. Access Control extentions
  2. require_once("$IP/extensions/MW-AccessControl/AccessControl.php");

require_once("$IP/extensions/MW-lockdown/Lockdown.php"); require_once("$IP/extensions/MW-AccessControlPanel/AccessControlPanel/AccessControlPanel.php");

  1. Allow anonymous user to read the Main Page and login page

$wgWhitelistRead = array( ":Main Page", "Special:Userlogin"); $wgAccessControlPanelAllowedGroup = 'sysop'; $wgGroupPermissions[$wgAccessControlPanelAllowedGroup]['read'] = true; $wgGroupPermissions[$wgAccessControlPanelAllowedGroup]['edit'] = true;

  1. AccessControlPanel setting

$wgGroupPermissions['*']['createaccount'] = false; $wgGroupPermissions['*']['edit'] = false; $wgGroupPermissions['*']['read'] = true; $wgGroupPermissions['sysop']['edit'] = true; $wgGroupPermissions['sysop']['read'] = true;


  1. End of automatically generated settings.
  2. Add more configuration options below.
Kamalakkannan1984 (talkcontribs)

HI,

Access level did not work for me, I created two users and two groups but create the pages for individual groups. the page showing all groups

,any help

Reply to "Access right to Access Control Panel"