View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 04283 | Bug reports | Authentication | public | 2010-04-17 11:00 | 2010-05-05 10:28 |
| Reporter | Assigned To | ||||
| Priority | normal | Severity | minor | ||
| Status | closed | Resolution | suspended | ||
| Product Version | 1.90b | ||||
| Summary | 04283: 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. | ||||
| Tags | No 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);
+ }
});
+});
| ||||
| Bug heat | 0 | ||||
| Complete LimeSurvey version number (& build) | 8589 | ||||
| I will donate to the project if issue is resolved | |||||
| Browser | FF | ||||
| Database type & version | Mysql 5.1.37 | ||||
| Server OS (if known) | Ubuntu | ||||
| Webserver software & version (if known) | Apache | ||||
| PHP Version | 5.2.10 | ||||
| Git branch / Pull Request URL | |||||
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2010-04-17 11:00 |
|
New Issue | |
| 2010-04-17 11:00 |
|
Status | new => assigned |
| 2010-04-17 11:00 |
|
Assigned To | => user7171 |
| 2010-04-17 11:00 |
|
File Added: superadminpatch.patch | |
| 2010-04-17 11:41 |
|
File Deleted: superadminpatch.patch | |
| 2010-04-17 11:42 |
|
File Added: superadminpatch.patch | |
| 2010-04-17 12:08 |
|
File Deleted: superadminpatch.patch | |
| 2010-04-17 12:08 |
|
File Added: superadminpatch.patch | |
| 2010-04-17 17:42 |
|
File Deleted: superadminpatch.patch | |
| 2010-04-17 17:43 |
|
File Added: superadminpatch.patch | |
| 2010-04-17 18:01 |
|
File Deleted: superadminpatch.patch | |
| 2010-04-17 18:01 |
|
File Added: superadminpatch.patch | |
| 2010-04-17 18:10 |
|
File Deleted: superadminpatch.patch | |
| 2010-04-17 18:10 |
|
File Added: superadminpatch.patch | |
| 2010-04-17 18:25 |
|
File Deleted: superadminpatch.patch | |
| 2010-04-17 18:25 |
|
File Added: superadminpatch.patch | |
| 2010-04-17 18:41 |
|
File Deleted: superadminpatch.patch | |
| 2010-04-17 18:41 |
|
File Added: superadminpatch.patch | |
| 2010-04-18 17:17 |
|
Status | assigned => resolved |
| 2010-05-05 10:28 | c_schmitz | Status | resolved => closed |
| 2026-10-25 16:41 | c_schmitz | Resolution | open => suspended |