forked from YunoHost-Apps/seafile_ynh
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathactions.json
37 lines (37 loc) · 1.67 KB
/
actions.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
[{
"id": "migrate_user_email_to_mail_email",
"name": "Migrate all user email with seafile domain to main user email",
"command": "bash scripts/actions",
"user": "root",
"accepted_return_codes": [0],
"description": {
"en": "Hight level function : Change automatically the email for the user authentication to a the main user email. This function should be run when you migrate from seafile 6 to seafile 7.\nBy example '[email protected]' will be renamed to the new email '[email protected]'. Note that when do you this change the email need to be also changed in all client !!"
}
},
{
"id": "change_user_email",
"name": "Change user email of user",
"command": "bash scripts/actions",
"user": "root",
"accepted_return_codes": [0],
"description": {
"en": "Low level function : Change manually the email for the user authentication to a other email.\nBy example '[email protected]' will be renamed to the new email '[email protected]'. Note that when do you this change the email need to be also changed in all client !!"
},
"arguments": [
{
"name": "old_email",
"type": "string",
"ask": {
"en": "Old user email"
},
"example": "[email protected]"
}, {
"name": "new_email",
"type": "string",
"ask": {
"en": "New user email"
},
"example": "[email protected]"
}
]
}]