2A+ can change their selected bus or team if the registration is not validated

This commit is contained in:
Yohann D'ANELLO 2020-08-01 23:26:11 +02:00
parent 37dc535d6d
commit b706efe463
1 changed files with 20 additions and 2 deletions

View File

@ -2247,6 +2247,22 @@
"description": "Créer une note d'utilisateur" "description": "Créer une note d'utilisateur"
} }
}, },
{
"model": "permission.permission",
"pk": 144,
"fields": {
"model": [
"wei",
"weiregistration"
],
"query": "[\"AND\", {\"user\": [\"user\"], \"wei__membership_start__lte\": [\"today\"], \"wei__membership_end__gte\": [\"today\"], \"first_year\": false, \"membership\": null}]",
"type": "change",
"mask": 1,
"field": "information_json",
"permanent": false,
"description": "Modifier mes préférences en terme de bus et d'équipe si mon inscription n'est pas validée et que je suis en 2A+"
}
},
{ {
"model": "permission.role", "model": "permission.role",
"pk": 1, "pk": 1,
@ -2300,7 +2316,8 @@
99, 99,
101, 101,
108, 108,
109 109,
144
] ]
} }
}, },
@ -2569,7 +2586,8 @@
140, 140,
141, 141,
142, 142,
143 143,
144
] ]
} }
}, },