Commit eb278f6d authored by Ivan Tyagov's avatar Ivan Tyagov Committed by Nikola Balog

By default newly created data lake users will have their Assignments (i.e....

By default newly created data lake users will have their Assignments (i.e. access to the system) for 2 years.
parent cf86202c
......@@ -25,6 +25,9 @@ if portal.portal_templates.getInstalledBusinessTemplate("erp5_wendelin_data_lake
if default_system_preference.getPreferenceState() == "disabled":
default_system_preference.enable()
# adjust system to create Assignments for newly created accounts for 2 years
default_system_preference.setPreferredCredentialAssignmentDuration(2*365)
# change periodicity of respective alarms from default 60 mins to 1 minute
# so that we can have a default system in which user registration happens instantly
accept_submitted_credentials = getattr(portal.portal_alarms,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment