Last modified: 2012-04-12 13:55:11 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T30082, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 28082 - Add Hooks to User::addGroup and User::removeGroup
Add Hooks to User::addGroup and User::removeGroup
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
General/Unknown (Other open bugs)
1.16.x
All All
: Normal enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
: easy, patch
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-03-16 22:20 UTC by Mathias Ertl
Modified: 2012-04-12 13:55 UTC (History)
1 user (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments
proposed hooks (627 bytes, patch)
2011-03-16 22:20 UTC, Mathias Ertl
Details

Description Mathias Ertl 2011-03-16 22:20:01 UTC
Created attachment 8303 [details]
proposed hooks

I propose to add two new hooks, one should be called when adding a group to a user, one when a group is removed. This allows MediaWiki for example to add/remove groups from a remote authentication/authorization service.

I attached a proposed patch which should work fine and is tested with an extension of mine.
Comment 1 Mark A. Hershberger 2011-03-16 23:15:10 UTC
Adapted patch in r84134

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links