- Posts: 53
- Thank you received: 5
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
Can I change the default permissions when a new survey admin is created?
- bdeprez
- Topic Author
- Offline
- Senior Member
Less
More
7 years 3 months ago #146507
by bdeprez
Can I change the default permissions when a new survey admin is created? was created by bdeprez
Hi all,
I was wondering if it would be possible to change the default permissions when a new admin is created.
Today, it's a 2 step process:
- create user
- assign 'survey create' permissions.
I would like to see the 'survey create' permissions to be assigned by default when a new user is created. That would eliminate the second step above.
Any suggestions / ideas?
Thank you,
B.
I was wondering if it would be possible to change the default permissions when a new admin is created.
Today, it's a 2 step process:
- create user
- assign 'survey create' permissions.
I would like to see the 'survey create' permissions to be assigned by default when a new user is created. That would eliminate the second step above.
Any suggestions / ideas?
Thank you,
B.
The topic has been locked.
- DenisChenu
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 13647
- Thank you received: 2491
7 years 3 months ago #146520
by DenisChenu
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
Replied by DenisChenu on topic Can I change the default permissions when a new survey admin is created?
Alternative solution if ALL your users need SurveyCreate
github.com/LimeSurvey/LimeSurvey/blob/ma.../Permission.php#L539
Return true for sEntityName=="survey' and sPermission=='create'
If i remind
github.com/LimeSurvey/LimeSurvey/blob/ma.../Permission.php#L539
Return true for sEntityName=="survey' and sPermission=='create'
If i remind
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
The topic has been locked.
- bdeprez
- Topic Author
- Offline
- Senior Member
Less
More
- Posts: 53
- Thank you received: 5
7 years 3 months ago #146549
by bdeprez
Replied by bdeprez on topic Can I change the default permissions when a new survey admin is created?
Hi,
Thank you for the response - if I understood correctly, you suggest to create a plugin which would overrule the 'survey' permissions from the database?
I'm not sure I'm advanced enough to do this... unfortunately... And, I also think, in my use case, that wouldn't be the right solution as this would make user rights recertification a bit difficult.
I think the following line in the permissions page in the GUI "(for which all permissions are automatically given)" is a bit misleading as this (afaik) isn't the case...
Thanks,
B.
Thank you for the response - if I understood correctly, you suggest to create a plugin which would overrule the 'survey' permissions from the database?
I'm not sure I'm advanced enough to do this... unfortunately... And, I also think, in my use case, that wouldn't be the right solution as this would make user rights recertification a bit difficult.
I think the following line in the permissions page in the GUI "(for which all permissions are automatically given)" is a bit misleading as this (afaik) isn't the case...
Thanks,
B.
The topic has been locked.
- DenisChenu
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 13647
- Thank you received: 2491
7 years 3 months ago #146551
by DenisChenu
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
Replied by DenisChenu on topic Can I change the default permissions when a new survey admin is created?
I say "if ALL your users need SurveyCreate"
But if a plugin seems to be too complex : there are no alternate solution currently
But if a plugin seems to be too complex : there are no alternate solution currently
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
The topic has been locked.