Hello,
The new user management things is commited in cvs HEAD.
Anyone actually using HEAD for any kind of public / production site should STOP updating from HEAD unless it is for development purposes. My patch is full of bugs, security holes and will certainly crash the database :o)
For developpers:
Groups are managed through the group class (group.php), it's almost a copy and paste of the user class so you should not be too lost.
The SpecialUserlevels.php uses HTMLForm class to generate the select / fieldset ... I am willing to rewrite part of it so HTMLForm provide us a good HTML abstraction layer.
I think SQL patches are up to date, hopefully modifications made this morning by JeLuF will still be there.
I provided a dump of my 'groups' table, it's available at: ./maintenance/archives/patch-userlevels-defaultgroups.sql
The whitelist thing is partially re implemented with two new globals in default settings: $wgAnonGroupId = 1; $wgLoggedInGroupId = 2; They define the groupId to be used for user rights. It's not complete.
Some logs are generated through the LogPage object and available at Special:Log :o)
Bug tracker: http://bugzilla.wikipedia.org/show_bug.cgi?id=767
Enjoy.
Ashar Voultoiz wrote: <snip>
For developpers:
<snip>
Forgot to add. Available rights are in define.php , if you want to check if a user is allowed to do something: $wgUser->isAllowed(<right>);
Where <right> is a string.
isSysop, isBureaucrat, isDevelopper will die();.
wikitech-l@lists.wikimedia.org