Manages access per user per page
== Installation ==
- Download the extension and place it in the extensions/ directory.
- Add the following line in LocalSettings.php
wfLoadExtension( 'PagePermissions' );
- Run the update script which will automatically create the necessary database tables that this extension needs.
- ✅ Done - Navigate to Special:Version on your wiki to verify that the extension is successfully installed.
Instead of downloading the zip archive you may also check this extension out via Git:
git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/PagePermissions
== Configuration ==
=== PagePermissionsRoles ===
Add the custom roles and their respective permissions in extension.json
Example:
"PagePermissionsRoles": {
"reader": ["read"],
"editor": ["read", "edit"],
"manager": ["read", "edit", "move", "rollback"],
"owner": ["read", "edit", "move", "rollback", "delete", "pagepermissions"]
}
=== User Rights ===
Allows users to use the "PagePermissions" page action in order to add or remove user rights for this page. Defaults to:
$wgGroupPermissions['sysop']['pagepermissions'] = true;