View Issue Details

This bug affects 1 person(s).
 2
IDProjectCategoryView StatusLast Update
18526Bug reportsSurvey editingpublic2022-12-13 18:54
ReporterShiXiong Assigned Togabrieljenik  
PrioritynoneSeverityminor 
Status feedbackResolutionopen 
Product Version5.4.x 
Summary18526: when the user has “create“ permission, “create survey“ card is not visible after login.
Description

when the user has “create“ permission, “create survey“ card is not visible after login.

Steps To Reproduce

Steps to reproduce

  1. create new user.
  2. assign "create" survey permission.
  3. logout and login with new user

    Expected result

create survey card is visible

Actual result

create survey card is not visible

TagsNo tags attached.
Attached Files
image-20221122-084845.png (7,512 bytes)   
image-20221122-084845.png (7,512 bytes)   
Bug heat2
Complete LimeSurvey version number (& build)demo
I will donate to the project if issue is resolvedNo
Browserchrome
Database type & versionmysql
Server OS (if known)
Webserver software & version (if known)
PHP Version8.0

Users monitoring this issue

There are no users monitoring this issue.

Activities

gabrieljenik

gabrieljenik

2022-12-13 18:54

manager   ~73102

Please check the visbility option of the button.
Could have been "only admins", which would leave aside the fact that the user can or can't create surveys.

Also consider the following:

After reviewing the filter logic to visualize the control panel boxes, we observe is handled through the usergroup variable.
That logic does not consider the permissions assigned to the user but the membership of user groups.

Option A: Develop a system of user permissions associated with each possible action of each button. (Feature Request)
Option B: Add a notice below the dropdown where the button visibility is selected, commenting that users are required to have the available permissions to run the button actions. (this could be good on situations where the user may get to see the button, but may not have the permission to run the related action)

Issue History

Date Modified Username Field Change
2022-11-29 17:07 ShiXiong New Issue
2022-11-29 17:07 ShiXiong File Added: image-20221122-084845.png
2022-12-02 21:52 gabrieljenik Status new => confirmed
2022-12-07 19:41 gabrieljenik Assigned To => gabrieljenik
2022-12-07 19:41 gabrieljenik Status confirmed => assigned
2022-12-13 18:54 gabrieljenik Status assigned => feedback
2022-12-13 18:54 gabrieljenik Note Added: 73102
2022-12-13 18:54 gabrieljenik Bug heat 0 => 2