add and use updateExternalDBGroups function, fixes #49641
authorMathias Ertl <mati@fsinf.at>
Sun, 23 Jun 2013 09:57:38 +0000 (11:57 +0200)
committerMathias Ertl <mati@fsinf.at>
Mon, 8 Jul 2013 17:46:31 +0000 (19:46 +0200)
commitb8b91a0092e7d7444adfdfe0511dc13487c28685
treecfe3dc01de7429480920eba82c7055a3e049a4c0
parent5440c0139cbf7564df2a08c998e3fe82a9f57640
add and use updateExternalDBGroups function, fixes #49641

This enables plugins to add/remove groups in an external authentication
service when a group is added via the MediaWiki interface without relying
on the related Hooks. Relying on the Hook would mean that a plugin cannot
use User::addGroup or User::delGroup to add/remove groups comming FROM
the authentication service, as these functions would call the hook and
then redundantly add these groups to the auth-service again.

Change-Id: Ia04d5bb30831a89dfc66128e3c335bbe07f724b6
includes/AuthPlugin.php
includes/User.php
includes/specials/SpecialUserrights.php