View Issue Details

This issue affects 1 person(s).
 4
IDProjectCategoryView StatusLast Update
11059Bug reportsUser / Groups / Rolespublic2016-04-28 21:02
Reporterpmonstad Assigned Toc_schmitz  
PriorityimmediateSeveritycrash 
Status closedResolutionunable to reproduce 
Product Version2.50.x 
Summary11059: Superadmin can turn off own permissions
Description

I managed to turn myself off as a superadmin (removed permissions). Luckily I noticed this before logging out. I had another user I managed to give superadmin permissions. This should not be possible.

TagsNo tags attached.
Attached Files
Bug heat4
Complete LimeSurvey version number (& build)160426
I will donate to the project if issue is resolvedNo
BrowserChrome
Database type & versionirrelevant
Server OS (if known)irrelevant
Webserver software & version (if known)irrelevant
PHP Versionirrelevant

Users monitoring this issue

There are no users monitoring this issue.

Activities

pmonstad

pmonstad

2016-04-27 22:32

updater   ~37914

Even worser than I thought. Now I have a superadmin user withot any permissions, and the second user has no permissions either. See screenshot.

pmonstad

pmonstad

2016-04-27 22:33

updater   ~37915

I have really locked myself out. Any idea how I can fix this?

c_schmitz

c_schmitz

2016-04-28 09:33

administrator   ~37933

REPLACE INTO lime_permissions (id, entity, entity_id, uid, permission, create_p, read_p, update_p, delete_p, import_p, export_p) VALUES (1, 'global', 0, 1, 'superadmin', 0, 1, 0, 0, 0, 0);

pmonstad

pmonstad

2016-04-28 10:18

updater   ~37935

Thanks!

c_schmitz

c_schmitz

2016-04-28 16:02

administrator   ~37971

Last edited: 2016-04-28 16:02

I cannot reproduce how you did that. Can you explain the steps, please?

pmonstad

pmonstad

2016-04-28 20:15

updater   ~37993

I cannot reproduce. I really don't know what happened.

c_schmitz

c_schmitz

2016-04-28 21:02

administrator   ~37995

I fixed the button display, anway :-)

Issue History

Date Modified Username Field Change
2016-04-27 22:30 pmonstad New Issue
2016-04-27 22:32 pmonstad Note Added: 37914
2016-04-27 22:32 pmonstad File Added: Skjermbilde 2016-04-27 kl. 22.32.02.png
2016-04-27 22:33 pmonstad Priority none => immediate
2016-04-27 22:33 pmonstad Severity minor => crash
2016-04-27 22:33 pmonstad Note Added: 37915
2016-04-28 09:33 c_schmitz Note Added: 37933
2016-04-28 09:34 c_schmitz Assigned To => c_schmitz
2016-04-28 09:34 c_schmitz Status new => assigned
2016-04-28 10:18 pmonstad Note Added: 37935
2016-04-28 16:02 c_schmitz Note Added: 37971
2016-04-28 16:02 c_schmitz Note Edited: 37971
2016-04-28 16:12 c_schmitz Status assigned => feedback
2016-04-28 20:15 pmonstad Note Added: 37993
2016-04-28 20:15 pmonstad Status feedback => assigned
2016-04-28 21:02 c_schmitz Note Added: 37995
2016-04-28 21:02 c_schmitz Status assigned => closed
2016-04-28 21:02 c_schmitz Resolution open => unable to reproduce
2019-11-01 17:26 c_schmitz Category User/User groups => User / Groups / Roles