View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 16967 | Bug reports | Survey editing | public | 2021-01-12 13:37 | 2026-11-20 14:25 |
| Reporter | DenisChenu | Assigned To | c_schmitz | ||
| Priority | none | Severity | minor | ||
| Status | resolved | Resolution | fixed | ||
| Summary | 16967: remove giveAllSurveyPermissions | ||||
| Description | This function allow to give all permission to an user, But it was used only for owner_id. Since owner_id have already all rights : not needed | ||||
| Additional Information | If super-admin want to disable user access :
| ||||
| Tags | No tags attached. | ||||
| Bug heat | 2 | ||||
| Complete LimeSurvey version number (& build) | 4.0.0 | ||||
| I will donate to the project if issue is resolved | No | ||||
| Browser | not relevant | ||||
| Database type & version | not relevant | ||||
| Server OS (if known) | not relevant | ||||
| Webserver software & version (if known) | not relevant | ||||
| PHP Version | not relevant | ||||
| Git branch / Pull Request URL | |||||
| related to | 14551 | closed | DenisChenu | Bug reports | user can grant more permissions on a survey than he has himself |
| related to | 16440 | closed | cdorin | Feature requests | Survey group Permission : minimal system |
|
Fix committed to master branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=41377 |
|
|
LimeSurvey: master c56ed227 2026-11-20 14:25 Details Diff |
Fixed issue 16967: After the owner of a new survey was changed, the previous owner still had all permissions on it Dev New, imported and RemoteControl-created surveys no longer get permission rows for the owner; the owner has all permissions anyway Dev The survey permissions page shows the survey owner and no longer lists or offers the owner as a user Dev Permission::giveAllSurveyPermissions() is deprecated and no longer used by core; existing owner permission rows are kept |
Affected Issues 16967 |
|
| mod - application/controllers/SurveyPermissionsController.php | Diff File | ||
| mod - application/helpers/admin/import_helper.php | Diff File | ||
| mod - application/helpers/remotecontrol/remotecontrol_handle.php | Diff File | ||
| mod - application/models/Permission.php | Diff File | ||
| mod - application/models/services/CreateSurvey.php | Diff File | ||
| mod - application/models/services/SurveyPermissions.php | Diff File | ||
| mod - application/views/surveyPermissions/index.php | Diff File | ||
| mod - tests/unit/models/SurveyPermissionsServiceTest.php | Diff File | ||
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2021-01-12 13:37 | DenisChenu | New Issue | |
| 2021-01-12 13:47 | DenisChenu | Relationship added | related to 14551 |
| 2021-01-12 13:58 | DenisChenu | Relationship added | related to 16440 |
| 2021-01-12 13:58 | DenisChenu | Project | Bug reports => @10@ |
| 2026-11-19 22:50 | c_schmitz | Status | new => acknowledged |
| 2026-11-19 22:50 | c_schmitz | Product Version | 4.4.0-RC2 => |
| 2026-11-20 14:25 | c_schmitz | Changeset attached | => LimeSurvey master c56ed227 |
| 2026-11-20 14:25 | c_schmitz | Note Added: 87815 | |
| 2026-11-20 14:25 | c_schmitz | Assigned To | => c_schmitz |
| 2026-11-20 14:25 | c_schmitz | Status | acknowledged => resolved |
| 2026-11-20 14:25 | c_schmitz | Resolution | open => fixed |
| 2026-11-20 14:25 | c_schmitz | Bug heat | 0 => 2 |