geonature.core.users.register_post_actions¶
Action triggered after register action (create temp user, change password etc…)
Functions¶
Returns a list of validators emails |
|
|
Send an email after the action of account creation. |
Execute post actions after a temp user has been validated. |
|
|
After dataset validation, add a personal Acquisition Framework and Dataset |
|
Send an email to inform the user that his account was validate. |
|
Send an email with the login of the role and the possibility to reset |
Module Contents¶
- geonature.core.users.register_post_actions.validators_emails()[source]¶
Returns a list of validators emails
- geonature.core.users.register_post_actions.validate_temp_user(data)[source]¶
Send an email after the action of account creation.
Parameters¶
- datadict
Must contain the token of the temp user. Example : {« token »: « iamavalidtoken »}
- geonature.core.users.register_post_actions.execute_actions_after_validation(data)[source]¶
Execute post actions after a temp user has been validated. If AUTO_DATASET_CREATION is set to True, create a personal JDD and AF for the user. Then, send an email to the user to inform him of the creation of his account.
- geonature.core.users.register_post_actions.create_dataset_user(user)[source]¶
After dataset validation, add a personal Acquisition Framework and Dataset so the user can add new datasets.
Parameters¶
- userdict
The user data