Lockdown and problems with common wiki handling
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
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.
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.