Hi.
I'm trying to use the line $wgGroupPermissions['user']['delete'] =
true;
in LocalSettings.php and it doesn't work. It depends upon the mediawiki
version?? I've modified also the includes/User.php file in the
isAllowed() function (the part of the grouprights array) and it doesn'
work, too.
Has anyone explain me why??
Thanks
Ashar Voultoiz wrote:
John Ky wrote:
Hello,
Is it possible to configure mediawiki so that any new users that are
created will automatically be assigned to one or more groups?
Actually no. All user accounts are assigned the 'user' group permissions
for which you can add / remove rights.
Adding in your localsettings.php:
$wgGroupPermissions['user']['delete'] = true;
Would let logged in users delete pages.
In User.php User::loadFromDatabase , near the end of the method, the
following line seems to determine the group membership:
$effectiveGroups = array_merge( array( '*', 'user' ), $this->mGroups
);
You can probably add groups there ;)
cheers,
--
Javier Lázaro Jareño
Secretariado de Nuevas Tecnologías y Recursos Virtuales
Vicerrectorado de Nuevas Tecnologías y Política
Universidad de Extremadura
Plaza Caldereros S/N
Edificio Rectorado
10071 - Cáceres (Cáceres) España (Spain)
Extensión: 1110, 7250