André Meunier wrote:
Hi,
I've looked into the permissions, and the Lockdown extension. From what I understand, you can only limit permissions to a namespace for people who have already the rights in the main wiki? From my tests, if I restrain the rights for my students to edit the main wiki, even if I grant them permissions to edit the namespace, it doesn't work.
Is there a way to go around that? The idea would be to have a general main wiki with general informations, only editable by the staff, then a namespace for the students, where they can do whatever they want.
Thanks
Set also a lock for the main namespace: $wgNamespaceProtection[NS_MAIN] = array( 'edit_main' );
Now, only those with the edit_main right will be able to edit the pages on the main namespace.
You will need to list all namespaces that people with just edit rights shouldn't edit.