View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|16623||Bug reports||Accessibility||public||2020-08-28 10:59||2020-09-01 01:12|
|Summary||16623: Change the user-rigths for access to the template-editor for any user-environment(V3.17.7)|
I have question/request about the template-editor-access in the user-environment.
Is it possible to change the limesurvey-code to change the user-rigths for access to the template-editor for
any user-environment ?
If i(limesurvey-admin) currently configure the template-rights in the user-portal(Global Rights),
i can only acivate the check-button: show to see all templates.
In most surveys-usage-situations the limesurvey-users only need to see/edit your own templates.
It is very kind of you, if you could added a check-button for usage the user-templates in the Global-Rights-Menu.
Thank you very much for support.
Axel Posmik, Systemadministrator
German Youth Institute(GYI)
|Tags||No tags attached.|
|Complete LimeSurvey version number (& build)||3.17.7|
|I will donate to the project if issue is resolved||No|
|Database & DB-Version||Mysql-5.7|
|Server OS (if known)||Debian 4.19|
|Webserver software & version (if known)|
@cdorin, to some extend this is related to https://bugs.limesurvey.org/view.php?id=14375.
The core problem is that at the template rights you usually define which templates a user can make use of for his surveys. That works fine.
When it comes to the global user rights and the template rights there, the problem is that there is no way to limit which templates a user may access if he has rights to edit a template.
A user with the global user right to edit templates can always edit all templates. It may be more useful if that user is only allowed to edit the templates assigned to him at the template user rights. Only superadmins should still be able to edit all templates.
@gabrieljenik, @DenisChenu, @ollehar, what do you think?
Need Read + Update right on template + owner_id
It's a feature request : Permission by template
If user have Create Theme : he can copy/extend the one he have read access.
It was the owner_id : all the right
If it import : it was owner : all the right.
I think the best way is to allow any limesurvey-user to generate/edit a limit of 10 own templates.
If a limesurvey-user should needed a new template and he has reached the template-limit,
he has to delete one of the exsisting templates.
10 user-templates should be sufficient for any user and they do not require so much storage space.
> I think the best way is to allow any limesurvey-user to generate/edit a limit of 10 own templates.
???? Why ?
If you create "client1" template, you want client1 to be allowed to :
- use it
- extend it (and update the extent)
- maybe update it (by option)
But client2 must not see "clinet1" or "client1 extended" template
The general problem is not the template-user-access, but the template-user-access to the checkbox: show is the problem.
If the checkbox: show is not activate the user cannot use the template-editor/template-configuration.
If the checkbox:show is activate the user see all templates(read, write).
A good template-user-configuration is:
-- to activate the checkbox: show and all users see only their own templates with template-editor-configuration,
-- to limit the template-generation until 10 templates(storage-limit-configuration).
You have a screen to allow user to SEE spêcific template. Need this screen with read + write (and owner)
> to activate the checkbox: show and all users see only their own templates with template-editor-configuration,
Owner id: create template : allow to extend 'readable' template. Owner have all the right in own template
> to limit the template-generation until 10 templates(storage-limit-configuration).
No reason, if you need it : plugin can be used.
See the Survey settings :
1. Have owner id
2. Can put to each Survey any user to read/update/create element
Here : we just need (in my opinion)
- Read : allow using, extend (if have global right : create)
- Update : allow to update content and global options
- Delete (?)
Agree would be a nice feature.
Still, I consider Templates a feature to be used mainly by admins/devs.
So not sure how spreaded would be the need of segmenting the access to different templates to different user groups.
Still, would be easier to implement a workaround: a survey level permission, like allow "edit template".
That would give access to the theme releated to the survey
Not the best setting, but could be a quicker workaround,
|2020-08-28 10:59||aposmik||New Issue|
|2020-08-28 11:09||Mazi||Note Added: 59654|
|2020-08-28 11:09||Mazi||Note Edited: 59654||View Revisions|
|2020-08-28 11:29||ollehar||Product Version||=> 3.22.26|
|2020-08-28 11:31||DenisChenu||Note Added: 59655|
|2020-08-28 11:31||DenisChenu||File Added: Capture d’écran du 2020-08-28 11-28-45.png|
|2020-08-28 11:32||DenisChenu||Note Edited: 59655||View Revisions|
|2020-08-28 15:13||aposmik||Note Added: 59660|
|2020-08-31 08:35||DenisChenu||Note Added: 59667|
|2020-08-31 11:42||aposmik||Note Added: 59668|
|2020-08-31 11:42||aposmik||File Added: 2020-08-31_09h47_43.png|
|2020-08-31 12:02||DenisChenu||Note Added: 59669|
|2020-09-01 01:12||gabrieljenik||Note Added: 59670|