stable
Clone or download
Read-only
story #8141 - be able to set and take READ/WRITE permissions into account
This commit allows Mediawiki admin to define ugroups that can READ and WRITE. This feature uses the new mechanism (public incl. restricted project visibility) with the associated behaviour ==> Update selected ugroups regarding new project / platform visibility. By default (No ugroup selected) we have: * Public project ==> READ granted to "Registered Users" and WRITE granted to "Project Members" * Private project ==> READ and WRITE granted to "Project Members" PLEASE NOTE: A restricted user with permission global mediawiki administrators is refused access by URLVerification Change-Id: I5f9f57c9628a06d6cb60594ef266fd3803fbb286
Modified Files
Name | ||||
---|---|---|---|---|
M | plugins/mediawiki/db/install.sql | +8 | −0 | Go to diff View file |
A | plugins/mediawiki/db/mysql/updates/2015/20150629_add_mediawiki_access_control_table.php | +64 | −0 | Go to diff View file |
M | plugins/mediawiki/db/uninstall.sql | +1 | −0 | Go to diff View file |
M | plugins/mediawiki/include/MediawikiAdminController.class.php | +74 | −2 | Go to diff View file |
M | plugins/mediawiki/include/MediawikiAdminPresenter.class.php | +31 | −7 | Go to diff View file |
M | plugins/mediawiki/include/MediawikiDao.class.php | +102 | −0 | Go to diff View file |
M | plugins/mediawiki/include/MediawikiManager.class.php | +164 | −0 | Go to diff View file |
M | plugins/mediawiki/include/mediawikiPlugin.class.php | +62 | −0 | Go to diff View file |
M | plugins/mediawiki/site-content/en_US/mediawiki.tab | +4 | −0 | Go to diff View file |
M | plugins/mediawiki/site-content/fr_FR/mediawiki.tab | +5 | −0 | Go to diff View file |
M | plugins/mediawiki/templates/admin.mustache | +33 | −0 | Go to diff View file |
M | plugins/mediawiki/www/LocalSettings.php | +114 | −19 | Go to diff View file |
M | plugins/mediawiki/www/themes/default/css/style.less | +9 | −0 | Go to diff View file |
M | src/common/project/ProjectUGroup.class.php | +1 | −1 | Go to diff View file |
M | src/www/project/admin/ugroup_utils.php | +6 | −5 | Go to diff View file |