View Issue Details

IDProjectCategoryView StatusLast Update
17052Bug reportsSurvey editingpublic2021-02-08 13:30
Reporterbbraeuer Assigned ToDenisChenu  
PrioritynoneSeveritypartial_block 
Status closedResolutionfixed 
Product Version4.4.1 
Fixed in Version4.4.1 
Summary17052: Access to survey denied if owner is not in survey permission list
DescriptionHi,

since 4.4.0 it is not possible anymore for an survey owner to access its own survey - if s/he is not in the survey permission list. Before, the survey owner did not need to be set specifically in the permission list to access the survey settings.
Not sure if its maybe wanted behavior, but then it looks like a step back because you have to take extra steps.

Kind regards
Benny

Steps To ReproduceCreate a survey, give it to a user (other then the LS-admin).
Log in as the user.
The user is not able to access its own survey.

To avoid that, grant the user rights in the survey submission.
TagsNo tags attached.
Complete LimeSurvey version number (& build)4.4.1+210201
I will donate to the project if issue is resolvedNo
Browser
Database & DB-Versionmysql 5.6.50-log
Server OS (if known)Ubuntu 18.04.7
Webserver software & version (if known)
PHP Version7.2.24-0ubuntu0.18.04.7

Relationships

child of 17053 assignedDenisChenu Need some Permisison test : owner + SurveysInGroup 

Activities

bbraeuer

bbraeuer

2021-02-03 11:26

reporter  

ollehar

ollehar

2021-02-03 13:06

administrator   ~61880

Something for you, Denis?
DenisChenu

DenisChenu

2021-02-03 13:13

developer   ~61881

Let me check
DenisChenu

DenisChenu

2021-02-03 13:29

developer   ~61882

Fix committed to master branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=30984
DenisChenu

DenisChenu

2021-02-03 13:32

developer   ~61883

Thanks for testing and report.
cdorin

cdorin

2021-02-03 14:31

manager   ~61889

thanks for report and fix, guys!

It will be included in 4.4.2
lime_release_bot

lime_release_bot

2021-02-08 13:30

administrator   ~62002

Fixed in Release 4.4.2+210208

Related Changesets

LimeSurvey: master 95769fe9

2021-02-03 13:29:00

DenisChenu

Details Diff
Fixed issue 17052: Permission for owner of survey
Dev: owner_id is string
Dev: we already check if $iUserID is not empty
Dev: need equal, not identical
Affected Issues
17052
mod - application/models/Permission.php Diff File

Issue History

Date Modified Username Field Change
2021-02-03 11:26 bbraeuer New Issue
2021-02-03 11:26 bbraeuer File Added: Bildschirmfoto 2021-02-03 um 11.17.40.png
2021-02-03 11:26 bbraeuer File Added: Bildschirmfoto 2021-02-03 um 11.17.04.png
2021-02-03 11:26 bbraeuer File Added: Bildschirmfoto 2021-02-03 um 11.16.49.png
2021-02-03 13:06 ollehar Assigned To => DenisChenu
2021-02-03 13:06 ollehar Status new => assigned
2021-02-03 13:06 ollehar Note Added: 61880
2021-02-03 13:13 DenisChenu Note Added: 61881
2021-02-03 13:29 DenisChenu Changeset attached => LimeSurvey master 95769fe9
2021-02-03 13:29 DenisChenu Note Added: 61882
2021-02-03 13:29 DenisChenu Resolution open => fixed
2021-02-03 13:31 DenisChenu Relationship added parent of 17053
2021-02-03 13:31 DenisChenu Relationship deleted parent of 17053
2021-02-03 13:32 DenisChenu Relationship added child of 17053
2021-02-03 13:32 DenisChenu Status assigned => resolved
2021-02-03 13:32 DenisChenu Fixed in Version => 4.4.1
2021-02-03 13:32 DenisChenu Note Added: 61883
2021-02-03 14:31 cdorin Note Added: 61889
2021-02-08 13:30 lime_release_bot Note Added: 62002
2021-02-08 13:30 lime_release_bot Status resolved => closed