View Issue Details

This bug affects 1 person(s).
 4
IDProjectCategoryView StatusLast Update
18495Bug reportsLabel setspublic2022-11-18 09:26
ReporterShiXiong Assigned To 
PrioritynoneSeveritypartial_block 
Status newResolutionopen 
Product Version5.4.x 
Summary18495: configuration tab is not visible to a user with only create label set permission
Description

This issue is detected while the testing label sets permission.
"Create" labels --> should be able to create and view your own label sets
"View" labels --> should be able to view all label sets in the system, created by anyone

Steps To Reproduce

Steps to reproduce

  1. create a new user in the user management.
  2. set permission "create label sets" only.
  3. logout and log in again with a new user.
  4. configuration tab is not visible.

Expected result

configuration tab should be visible and the user can view label sets created by self.

Actual result

as the configuration is not, the user can't create/view own label sets

TagsNo tags attached.
Bug heat4
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

User List There are no users monitoring this issue.

Activities

ShiXiong

ShiXiong

2022-11-17 16:03

reporter  

1.png (135,664 bytes)
2.png (80,608 bytes)   
2.png (80,608 bytes)   
3.png (114,987 bytes)
4.png (84,427 bytes)   
4.png (84,427 bytes)   
DenisChenu

DenisChenu

2022-11-17 16:11

developer   ~72803

Last edited: 2022-11-17 16:14

There are no owner of Label sets … (currenlly)

then "Create label sets" can not be really used …
We need more

  • Use ALL label set
  • Manage ALL label set (create/update/delete)

The way you ask is moire a feature request
https://github.com/LimeSurvey/LimeSurvey/blob/master/application/models/Interfaces/PermissionInterface.php
https://github.com/LimeSurvey/LimeSurvey/blob/master/application/models/Traits/PermissionTrait.php
https://github.com/LimeSurvey/LimeSurvey/tree/master/application/extensions/UserPermissionsWidget

ShiXiong

ShiXiong

2022-11-17 20:58

reporter   ~72805

I noted this bug always exists if view permission is not added.
Regardless of what role you have, if you don't have view permission, the configuration tab is not showing in any case.

DenisChenu

DenisChenu

2022-11-18 09:26

developer   ~72807

Regardless of what role you have, if you don't have view permission, the configuration tab is not showing in any case.

Yes, it's more related to the current situation … where create need view.

Maybe start by update sentence ?

And create a feature request to have a complete Permission system for label start by owner , and after adding permission by single label set.

Issue History

Date Modified Username Field Change
2022-11-17 16:03 ShiXiong New Issue
2022-11-17 16:03 ShiXiong File Added: 1.png
2022-11-17 16:03 ShiXiong File Added: 2.png
2022-11-17 16:03 ShiXiong File Added: 3.png
2022-11-17 16:03 ShiXiong File Added: 4.png
2022-11-17 16:11 DenisChenu Note Added: 72803
2022-11-17 16:11 DenisChenu Bug heat 0 => 2
2022-11-17 16:14 DenisChenu Note Edited: 72803
2022-11-17 20:58 ShiXiong Note Added: 72805
2022-11-17 20:58 ShiXiong Bug heat 2 => 4
2022-11-18 09:26 DenisChenu Note Added: 72807