Jack Eapen C wrote:
But it seems
$wgGroupPermissions['*']['viewManual'] = false; has no
effect as anyone can see the pages in Manual namespace. So, how can I
restrict the view access also?
$wgNamespaceProtection requires those permissions for *edit* namespace
150. That you called it view* or edit* is not important for it.
http://www.mediawiki.org/wiki/Manual:%24wgNamespaceProtection
There're some extensions able to do what you want, but keep into account
that mediawiki is not designed to prevent viewing, and solutions may not
be 100% effective:
http://www.mediawiki.org/wiki/Security_issues_with_authorization_extensions
Another problem is that, when my group names contain
spaces, the
permissions are not applied. i.e. if I use something like.
$wgNamespaceProtection[150] = array( 'editManual');
$wgGroupPermissions['Documentation Team']['editManual'] = true;
Users in the Documentation Team group can't edit these articles. I tried
the group name in lowercase as well. I'm using SimpleSecurity extension.
So my group names are actually defined in an article "Groups".
Can't we use group names with spaces in the $wgGroupPermissions array?
Try replacing the space by an underscore: Documentation_Team