To enable the permissions scheme for the API Portal defined in T249834, prevent users in the Users group from editing pages in the User namespace.
To do:
- Add $wgNamespaceProtection[NS_USER] = [ 'docseditor' ]; to the configuration for api.wikimedia.beta.wmflabs.org
- Confirm that a user in the group Users cannot edit a user page