Commit 5925c4b7 authored by Ivan Tyagov's avatar Ivan Tyagov

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 177fc128
Pipeline #28066 failed with stage
in 0 seconds
......@@ -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