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
  • bdeprez's Avatar Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
7 years 2 months ago #146507 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.
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
7 years 2 months ago #146520 by DenisChenu
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

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
  • bdeprez's Avatar Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
7 years 2 months ago #146549 by bdeprez
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.
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
7 years 2 months ago #146551 by DenisChenu
I say "if ALL your users need SurveyCreate" :)

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.

Lime-years ahead

Online-surveys for every purse and purpose