Lockdown and problems with common wiki handling

Jump to: navigation, search

Hi,

when using Lockdown to keep an Namespace being hidden to normal users, we have the following problems:

User rights cannot be accessed, the listed patches on this side works very well for this!

BUT, pages cannot be deleted...wiki returns I don't have the rights, either if i'm sysop or bureaucrat

Additions to LocalSettings.php:

define("NS_ARKAN", 100);
$wgExtraNamespaces[NS_ARKAN] = "Arkan";
$wgGroupPermissions['arkanology']['Arkan_*'] = true;

require_once( "$IP/extensions/Lockdown/Lockdown.php" );

$wgSpecialPageLockdown['Userrights'] = array('sysop', 'bureaucrat');
$wgNamespacePermissionLockdown[NS_ARKAN]['*'] = array('arkanology');

Sebastian

217.246.34.15312:59, 14 November 2011

I have the same problem. I wnat only sysop to delete. I got round it with $wgGroupPermissions['*']['delete'] = true; $wgNamespacePermissionLockdown[NS_MAIN]['delete'] = array( 'sysop' ); Theory being set everyone to delete and then restrict the main namespace back to sysop. You may need to work through the namespaces if you want them restricted. To just bring back delete the first statement may be enough.

86.186.106.14112:14, 26 November 2011
 

I have the same problem. I wnat only sysop to delete. I got round it with $wgGroupPermissions['*']['delete'] = true; $wgNamespacePermissionLockdown[NS_MAIN]['delete'] = array( 'sysop' ); Theory being set everyone to delete and then restrict the main namespace back to sysop. You may need to work through the namespaces if you want them restricted. To just bring back delete the first statement may be enough.

86.186.106.14112:14, 26 November 2011
 
Personal tools

Variants
Actions
Navigation
Support
Download
Development
Communication
Toolbox