I believe that the 'clean' method was to use initUser to bring in groups that the person is initially in when they are first created, and also use updateUser to update those groups when the person logs in. That was the purpose of those two functions basically, to update local data of various preferences and permissions when a user is created and logs in.
~Daniel Friesen(Dantman) of: -The Gaiapedia (http://gaia.wikia.com) -Wikia ACG on Wikia.com (http://wikia.com/wiki/Wikia_ACG) -and Wiki-Tools.com (http://wiki-tools.com)
GF wrote:
I have written a custom authtentication plugin that works correctly. Some user in my external user DB are administrators, and i want that also in mediawiki they should be administrator. Is there any "clean" way about doing this?
Where can I found the functions to get the groups associated to a user or a function to add/remove a user to a group? I think it's not good to directly write into the user_group association table.
Thank you. _______________________________________________ MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l