Hello,
After an update from wiki software version 1.16.2 to 1.17.0 I have a problem with the user rights. Even my own account which is registered for administrator and bureaucrat has not these rights anymore. How can I correct this error? Anybody an idea?
Thanks in advance.
Regards, Catlyn
If I remember right when we upgraded I had to go to the localsettings file and set permissions to true for many of my users. Have you looked at permissions in the local settings file?
Jeff
On 8/4/2011 9:47 AM, catlyn@gmx.de wrote:
Hello,
After an update from wiki software version 1.16.2 to 1.17.0 I have a problem with the user rights. Even my own account which is registered for administrator and bureaucrat has not these rights anymore. How can I correct this error? Anybody an idea?
Thanks in advance.
Regards, Catlyn
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
Hello,
I did not change anything in the local settings but there are already a lot of settings referring to permissions. I remarked that in the settings section of my (and other) accounts there is no entry under "User of the member group:". Normally I could find in this section "sysop" or "bureaucrat". But it is empfty.
How do you set permissions for single users in the local settings file? I do not mean for a usergroup because this seems not to work.
Regards, Catlyn
If I remember right when we upgraded I had to go to the localsettings file and set permissions to true for many of my users. Have you looked at permissions in the local settings file?
Jeff
On 8/4/2011 9:47 AM, catlyn@gmx.de wrote:
Hello,
After an update from wiki software version 1.16.2 to 1.17.0 I have a problem with the user rights. Even my own account which is registered for administrator and bureaucrat has not these rights anymore. How can I correct this error? Anybody an idea?
Thanks in advance.
Regards, Catlyn
As far as I know it is not done by single users but by user groups. I remember the same thing, my settings changed after the install and I had to go and change the permissions back to get things working right again. I think you will need to edit them. If you have an old copy of the localsettings file from before the install look at it and set the permissions up the same way and things should work correctly.
Jeff
On 8/4/2011 1:30 PM, catlyn@gmx.de wrote:
Hello,
I did not change anything in the local settings but there are already a lot of settings referring to permissions. I remarked that in the settings section of my (and other) accounts there is no entry under "User of the member group:". Normally I could find in this section "sysop" or "bureaucrat". But it is empfty.
How do you set permissions for single users in the local settings file? I do not mean for a usergroup because this seems not to work.
Regards, Catlyn
If I remember right when we upgraded I had to go to the localsettings file and set permissions to true for many of my users. Have you looked at permissions in the local settings file? Jeff On 8/4/2011 9:47 AM, catlyn@gmx.de wrote:
Hello, After an update from wiki software version 1.16.2 to 1.17.0 I have a problem with the user rights. Even my own account which is registered for administrator and bureaucrat has not these rights anymore. How can I correct this error? Anybody an idea? Thanks in advance. Regards, Catlyn
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
Hi Jeff,
I fear that this is not the problem because I am using my former LocalSettings.php. The permissions are set as follows:
# Prevent new user registrations except by sysops $wgGroupPermissions['*']['createaccount'] = false;
# Restrict editing by all non-sysop users $wgGroupPermissions['*']['edit'] = false; $wgGroupPermissions['user']['edit'] = false; $wgGroupPermissions['sysop']['edit'] = true;
# To prevent normal users from uploading files $wgGroupPermissions['user']['upload'] = false;
But when I have logged into my account which is an sysop account I have no rights to edit the main page or the common.css page, etc. When clicking on settings within my account (I am not speaking of the LocalSettings.php) the field where I can usually see the entries sysop, bureaucrat, etc. ist empty. I reconstructed this update twice. Before updating everything is fine. After updating I have the mentioned problems.
Regards, Catlyn
As far as I know it is not done by single users but by user groups. I remember the same thing, my settings changed after the install and I had to go and change the permissions back to get things working right again. I think you will need to edit them. If you have an old copy of the localsettings file from before the install look at it and set the permissions up the same way and things should work correctly.
Jeff
On 8/4/2011 1:30 PM, catlyn@gmx.de wrote:
Hello,
I did not change anything in the local settings but there are already a lot of settings referring to permissions. I remarked that in the settings section of my (and other) accounts there is no entry under "User of the member group:". Normally I could find in this section "sysop" or "bureaucrat". But it is empfty.
How do you set permissions for single users in the local settings file? I do not mean for a usergroup because this seems not to work.
Regards, Catlyn
If I remember right when we upgraded I had to go to the localsettings file and set permissions to true for many of my users. Have you looked at permissions in the local settings file? Jeff On 8/4/2011 9:47 AM, catlyn@gmx.de wrote:
Hello, After an update from wiki software version 1.16.2 to 1.17.0 I have a problem with the user rights. Even my own account which is registered for administrator and bureaucrat has not these rights anymore. How can I correct this error? Anybody an idea? Thanks in advance. Regards, Catlyn
I'm afraid right now I'm out of ideas. I do recall something along this line being posted on here a few months back. If I can find some time I'll see if I can locate what that issue was.
Jeff
On 8/4/2011 5:21 PM, catlyn@gmx.de wrote:
Hi Jeff,
I fear that this is not the problem because I am using my former LocalSettings.php. The permissions are set as follows:
# Prevent new user registrations except by sysops $wgGroupPermissions['*']['createaccount'] = false;
# Restrict editing by all non-sysop users $wgGroupPermissions['*']['edit'] = false; $wgGroupPermissions['user']['edit'] = false; $wgGroupPermissions['sysop']['edit'] = true;
# To prevent normal users from uploading files $wgGroupPermissions['user']['upload'] = false;
But when I have logged into my account which is an sysop account I have no rights to edit the main page or the common.css page, etc. When clicking on settings within my account (I am not speaking of the LocalSettings.php) the field where I can usually see the entries sysop, bureaucrat, etc. ist empty. I reconstructed this update twice. Before updating everything is fine. After updating I have the mentioned problems.
Regards, Catlyn
As far as I know it is not done by single users but by user groups. I remember the same thing, my settings changed after the install and I had to go and change the permissions back to get things working right again. I think you will need to edit them. If you have an old copy of the localsettings file from before the install look at it and set the permissions up the same way and things should work correctly. Jeff
On 8/4/2011 1:30 PM, catlyn@gmx.de wrote:
Hello, I did not change anything in the local settings but there are already a lot of settings referring to permissions. I remarked that in the settings section of my (and other) accounts there is no entry under "User of the member group:". Normally I could find in this section "sysop" or "bureaucrat". But it is empfty. How do you set permissions for single users in the local settings file? I do not mean for a usergroup because this seems not to work. Regards, Catlyn
If I remember right when we upgraded I had to go to the localsettings file and set permissions to true for many of my users. Have you looked at permissions in the local settings file? Jeff On 8/4/2011 9:47 AM, catlyn@gmx.de wrote:
Hello, After an update from wiki software version 1.16.2 to 1.17.0 I have a problem with the user rights. Even my own account which is registered for administrator and bureaucrat has not these rights anymore. How can I correct this error? Anybody an idea? Thanks in advance. Regards, Catlyn
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
Jeff Campbell wrote:
I'm afraid right now I'm out of ideas. I do recall something along this line being posted on here a few months back. If I can find some time I'll see if I can locate what that issue was.
Jeff
I think that case was related to the user groups being now padded with spaces in the db, so the wiki could not find any "sysop" because he was now a "sysop ", so they needed to be trimmed in the db. I don't know why that happened.
Tanks for this hint! How can the entries in the db be trimmed? What are the steps to do thatj?
Regards, Catlyn
Jeff Campbell wrote:
I'm afraid right now I'm out of ideas. I do recall something along this line being posted on here a few months back. If I can find some time I'll see if I can locate what that issue was.
Jeff
I think that case was related to the user groups being now padded with spaces in the db, so the wiki could not find any "sysop" because he was now a "sysop ", so they needed to be trimmed in the db. I don't know why that happened.
catlyn@gmx.de wrote:
Tanks for this hint! How can the entries in the db be trimmed? What are the steps to do thatj?
Regards, Catlyn
Maybe dump the user_groups table to a file? That way, you can easily check if that is the case. You could then trim the groups in that file and reload, or begin thinking in a SQL query to do that.
Unfortunately it is not the case.
Regards, Catlyn
catlyn@gmx.de wrote:
Tanks for this hint! How can the entries in the db be trimmed? What are the steps to do thatj?
Regards, Catlyn
Maybe dump the user_groups table to a file? That way, you can easily check if that is the case. You could then trim the groups in that file and reload, or begin thinking in a SQL query to do that.
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
mediawiki-l@lists.wikimedia.org