Hello!
Our local Limesurvey installation is integrated over SSO. Thus, all our staff and students can easily log in to our LS. The problem is, after logging in, our Installation Administrator has to grant them permission to create surveys, which causes a lot of manual work.
We'we tried to search the manual for a solution, without success. We would like to:
- create a group (e.g. "standarduser") and grant the members of that group the right to create surveys
- find a setting so that all new users would automatically be members of the "standarduser" group.
This Auth plugin must offer some "default rights".
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member. -
Professional support
-
Plugins, theme and development
. I don't answer to private message.
I did a plugin to get shibboleth login. In that I wrote
Code:
public function newUserSession()
{
$sUser = $this->getUserName();
$oUser = $this->api->getUserByName($sUser);
if (is_null($oUser)) {
# Creating a new user.
. . .
if ($oUser->save()) {
// read again user from newly created entry
Permission::model()->setGlobalPermission($oUser->uid, 'surveys', array('create_p'));
Permission::model()->setGlobalPermission($oUser->uid, 'templates', array('read_p'));
$this->setAuthSuccess($oUser);
But AuthLDAP didn't have any system ? Must use same param (by option maybe).
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member. -
Professional support
-
Plugins, theme and development
. I don't answer to private message.