Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No "New Survey" button after migration to 1.5 #264

Open
moniquewiza opened this issue Aug 3, 2020 · 7 comments
Open

No "New Survey" button after migration to 1.5 #264

moniquewiza opened this issue Aug 3, 2020 · 7 comments
Assignees

Comments

@moniquewiza
Copy link

@catalry
CRITICAL: After migration to 1.5 in the user interface there is no 'New Survey' button neither for form managers nor for the admin.
In the clear new instance of 1.5 the button is visible

To Reproduce
Upgrade from 1.4.1 to 1.5

image

@moniquewiza
Copy link
Author

IMHO some user right is not added/imported/updated

@moniquewiza
Copy link
Author

All users in this condition:
(menu.jsp:47) <c:if test="${USER.formPrivilege > 0 && USER.canCreateSurveys}">
have USER.canCreateSurveys=false

@moniquewiza
Copy link
Author

Again, IM(very)HO this is related to "Setting.CreateSurveysForExternalsDisabled)" but I did not found where this setting is set (properties? db?)

@moniquewiza
Copy link
Author

I've found setting in the db and set up to true which solved the issue with the button. Still don't know where to configure it and if this should not be always TRUE for oss setups?

@moniquewiza
Copy link
Author

moniquewiza commented Aug 3, 2020

BTW, during the upgrade the role ECAccess is added to 'globalroles' in ROLE_PRIVILEGES column, but the role ECAccess is not created anywhere.

>> That role is not used in the OSS version but in the “EC” version. And as both use the same code base, the role exists but has no effect.

@catalry
Copy link
Collaborator

catalry commented Aug 10, 2020

Dear @wojciechwiza ,
Indeed we had to modify the behaviour of the tool using a databse flag. I guess you are right, this behaviour should be editable from the spring properties and set to true for the oss version.

@BRU-EUSurvey
Copy link
Collaborator

Ticket 7295 created for this improvement.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants