View Issue Details

This issue affects 1 person(s).
 0
IDProjectCategoryView StatusLast Update
04283Bug reportsAuthenticationpublic2010-05-05 10:28
Reporteruser7171Assigned Touser7171 
PrioritynormalSeverityminor 
Status closedResolutionsuspended 
Product Version1.90b 
Summary04283: User Rights not set properly
Description

When the default user tries to create a new account with super administrator privileges, he/she is allowed to remove certain privileges from the account. Which shouldn't be the case. So this patch doesn't allow the user to deselect privileges when the user account is set

Steps To Reproduce

Just try to create a new user account with super admin privileges and remove one of the privileges, it will allow you to create the account which shouldn't be the case.

TagsNo tags attached.
Attached Files
superadminpatch.patch (459 bytes)   
Index: users.js
===================================================================
--- users.js	(revision 8589)
+++ users.js	(working copy)
@@ -7,4 +7,10 @@
 	    $("input[type=checkbox]").attr("checked",!tog);
 		tog=!tog;
 });
+$('#create_survey,#configurator,#create_user,#delete_user,#manage_template,#manage_label').click(function() {
+  if($(this).attr('checked')==false)
+  {
+  $('input[name=superadmin]').attr('checked', false);
+  }
 });
+});
superadminpatch.patch (459 bytes)   
Bug heat0
Complete LimeSurvey version number (& build)8589
I will donate to the project if issue is resolved
BrowserFF
Database type & versionMysql 5.1.37
Server OS (if known)Ubuntu
Webserver software & version (if known)Apache
PHP Version5.2.10
Git branch / Pull Request URL

Users monitoring this issue

There are no users monitoring this issue.

Activities

Issue History

Date Modified Username Field Change
2010-04-17 11:00 user7171 New Issue
2010-04-17 11:00 user7171 Status new => assigned
2010-04-17 11:00 user7171 Assigned To => user7171
2010-04-17 11:00 user7171 File Added: superadminpatch.patch
2010-04-17 11:41 user7171 File Deleted: superadminpatch.patch
2010-04-17 11:42 user7171 File Added: superadminpatch.patch
2010-04-17 12:08 user7171 File Deleted: superadminpatch.patch
2010-04-17 12:08 user7171 File Added: superadminpatch.patch
2010-04-17 17:42 user7171 File Deleted: superadminpatch.patch
2010-04-17 17:43 user7171 File Added: superadminpatch.patch
2010-04-17 18:01 user7171 File Deleted: superadminpatch.patch
2010-04-17 18:01 user7171 File Added: superadminpatch.patch
2010-04-17 18:10 user7171 File Deleted: superadminpatch.patch
2010-04-17 18:10 user7171 File Added: superadminpatch.patch
2010-04-17 18:25 user7171 File Deleted: superadminpatch.patch
2010-04-17 18:25 user7171 File Added: superadminpatch.patch
2010-04-17 18:41 user7171 File Deleted: superadminpatch.patch
2010-04-17 18:41 user7171 File Added: superadminpatch.patch
2010-04-18 17:17 user7171 Status assigned => resolved
2010-05-05 10:28 c_schmitz Status resolved => closed
2026-10-25 16:41 c_schmitz Resolution open => suspended