Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

can't assign bureaucrat role anyhow #5

Closed
snoer opened this issue Jul 21, 2013 · 3 comments
Closed

can't assign bureaucrat role anyhow #5

snoer opened this issue Jul 21, 2013 · 3 comments

Comments

@snoer
Copy link

snoer commented Jul 21, 2013

since I can't login with the mediaWiki's admin account the only possibility to grant another user bureaucrat rights seems to do so via LocalSettings.php

I removed the Admin user via phpmyadmin from the wiki_users and created the account again after adding the following to my LocalSettings.php.

$wgSMFSpecialGroups = array(
1 => 'bureaucrat'
);

this doesn't seem to have any effect.
I run SMF 2.0.4, MediaWiki 1.21

@emanuele45
Copy link
Contributor

Take in consideration that group changes are not applied "immediately", it should take about half an hour or more to be effective.

That said I haven't yet tested the issue so I can't say if the bureaucrat group has some other trick.

@emanuele45
Copy link
Contributor

As far as I can see after a bit of testing, bureaucrat is a very special group and cannot be assigned lightly, also in MW you must be bureaucrat to assign or remove the bureaucrat role.

I think the behaviour is intended: the bridge assigns roles that can be normally assigned, if you want all your admins to be bureaucrat I think there is something more to change.
If you notice even only to assign the sysop role (that has less power than bureaucrat), the bridge uses a special variable: $wgSMFAdminGroupID.
I think the idea is the same. ;)

@jdarwood007
Copy link
Member

This is how MW handles the bureaucrat role. It could possibly change in the newer auth plugins.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants