How can I add per page permissions to a user in MediaWiki?

后端 未结 6 2301
夕颜
夕颜 2021-02-12 23:49

In MediaWiki, how can a user be given permission to edit only certain pages? This way, the administrator can create a page for the user and the user will be able to edit this pa

相关标签:
6条回答
  • 2021-02-13 00:32

    SimpleSecurity does not work anymore with 1.21.1...

    What other methods are there to prevent reading on specific page or page of an category?

    AccessControl, PreventPage and Lockdown are also not very good extensions.

    0 讨论(0)
  • 2021-02-13 00:33

    I think you're looking for SimpleSecurity.

    0 讨论(0)
  • 2021-02-13 00:33

    This is an old question, MediaWiki has evolved and there appeared the "Access_Control_List" extension. This nice page may help anyone who's still looking for the answer: https://www.mediawiki.org/wiki/Category:Page_specific_user_rights_extensions

    Best regards!

    /Ángel

    0 讨论(0)
  • 2021-02-13 00:35

    Not directly, there's plenty of hacks/extensions that try to do the same thing.

    See the Extensions page at the MediaWiki webpage:

    MediaWiki Extensions

    0 讨论(0)
  • 2021-02-13 00:36

    I tried SimpleSecurity on wiki 1.17.0 and it works ok. But you are limited on 'Category' and 'Namespace' so you can't restrict some user to specific page.

    The only solution I see is that you make categories and subcategories and add groups and restrict with Category and Groups. Add users to different groups and add to your LocalSettings.php:

    $wgPageRestrictions['Category:Our_people']['edit'] = array('sysop', 'management');

    I also looked other restriction extensions on http://www.mediawiki.org/wiki/Category:Page_specific_user_rights_extensions but a lot of them are not maintained anymore and some require that you edin core.... SimpleSecurity is very straighforward.

    0 讨论(0)
  • 2021-02-13 00:43

    I use extensions ImprovedAccessControlas well as PermissionACL.

    Both work well for page by page, user by user, and namespace by namespace control.

    0 讨论(0)
提交回复
热议问题