Robert Vogel has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/322643

Change subject: BSResponsibleEditors: Changes permission scope
......................................................................

BSResponsibleEditors: Changes permission scope

Changed scope of permissions for "take" and "change", as they have been
namespace specific in older REL1_23 releases.

Change-Id: I171e9aded0824d12781496ae486739c9b55e9493
---
M ResponsibleEditors/ResponsibleEditors.class.php
1 file changed, 2 insertions(+), 2 deletions(-)


  git pull 
ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/BlueSpiceExtensions 
refs/changes/43/322643/1

diff --git a/ResponsibleEditors/ResponsibleEditors.class.php 
b/ResponsibleEditors/ResponsibleEditors.class.php
index 86608f7..4fab301 100644
--- a/ResponsibleEditors/ResponsibleEditors.class.php
+++ b/ResponsibleEditors/ResponsibleEditors.class.php
@@ -100,9 +100,9 @@
                $this->setHook( 'SuperList::queryPagesWithFilter', 
'onSuperListQueryPagesWithFilter' );
                $this->setHook( 'SuperList::buildDataSets', 
'onSuperListBuildDataSets' );
 
-               $this->mCore->registerPermission( 
'responsibleeditors-changeresponsibility', array(), array( 'type' => 'global' ) 
);
+               $this->mCore->registerPermission( 
'responsibleeditors-changeresponsibility', array(), array( 'type' => 
'namespace' ) );
                $this->mCore->registerPermission( 
'responsibleeditors-viewspecialpage', array(), array( 'type' => 'global' ) );
-               $this->mCore->registerPermission( 
'responsibleeditors-takeresponsibility', array( 'user' ), array( 'type' => 
'global' ) );
+               $this->mCore->registerPermission( 
'responsibleeditors-takeresponsibility', array( 'user' ), array( 'type' => 
'namespace' ) );
 
                BSNotifications::registerNotificationCategory( 
'bs-responsible-editors-assignment-cat' );
                BSNotifications::registerNotificationCategory( 
'bs-responsible-editors-action-cat' );

-- 
To view, visit https://gerrit.wikimedia.org/r/322643
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I171e9aded0824d12781496ae486739c9b55e9493
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/BlueSpiceExtensions
Gerrit-Branch: REL1_23
Gerrit-Owner: Robert Vogel <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to