Mediawiki - only a specific group of users can read / access

I am building a wiki at the moment and I want it to be completely private and only accessible to a specific group of users.

My first step:

$wgGroupPermissions['*']['read']    = false;

      

this way nobody (but admins, I guess) should read any Wiki content.

After that, I created several groups to allow read, read edit and create credentials, etc.

Unfortunately, I tried to register a new test account, and I could still read the main wiki page, although I changed the permission that no one else should read except the user groups I created.

Did I miss something?

+4


source to share


2 answers


This method specifically allows users who have created accounts to view the wiki. See this man page: https://www.mediawiki.org/wiki/Manual:Preventing_access#Restrict_viewing_of_all_pages this is the second warning. Therefore, you can also restrict account creation.



0


source


You need to add $wgGroupPermissions['user']['read'] = false;

as *

still allowing the visitors in the group users

to read.



0


source







All Articles