1

In the release notes of Mediawiki 1.18 there is this line:

$wgGroupPermissions now supports per namespace permissions.

I cannot find the implementation within the documentation. The wiki page for $wgGroupPermissions has not yet been updated to handle this change.

I wish to put copyrighted material up that will only be accessible to a certain class of users while leaving the rest of the wiki open.

Michael Hampton
  • 244,070
  • 43
  • 506
  • 972
EFH
  • 123
  • 3

1 Answers1

2

I'm having a very hard time parsing what exactly occurred here (wikimedia's infamous bureaucracy).. but what it looks like to me is that the release note made it in (diff), but the change to actually enable the feature was reverted.

The only clear notes on this seem to be in the commit notes for the revert, with nothing in the outstanding bug.

Reverted r92364 (per-namespace permissions).

This is the wrong configuration format for such a feature, and the wrong interface. We already have certain per-namespace permissions in the Title class, and we didn't need to add extra formal parameters to a whole lot of User methods in order to get them. The feature should be implemented wholly in Title, and the concept of user rights should remain relatively simple and easy to understand, and independent of its many applications, i.e. a user either has a right or doesn't. Rights are just a tool for developing access policies; the complexity should be in the caller.

Shane Madden
  • 114,520
  • 13
  • 181
  • 251
  • Well, chalk up several wasted hours of upgrade time for naught. I'll stop looking and holding my breath then and start looking into this Title class. The big reason I pushed up to 1.18 was to be able to close off one namespace. Oh well. – EFH Jan 26 '12 at 23:09