diff --git a/apps/permission/fixtures/initial.json b/apps/permission/fixtures/initial.json index d49cbb41..f43bc388 100644 --- a/apps/permission/fixtures/initial.json +++ b/apps/permission/fixtures/initial.json @@ -3896,6 +3896,38 @@ "description": "Voir les personnes invitées aux événements organisés par son club" } }, + { + "model": "permission.permission", + "pk": 248, + "fields": { + "model": [ + "auth", + "user" + ], + "query": "[\"NOT\", {\"pk__isnull\": [\"user\", \"note\", \"activity_responsible\", [\"filter\", {\"activity__open\": true, \"activity__activity_type__manage_entries\":true}], [\"exists\"]]}]", + "type": "view", + "mask": 3, + "field": "", + "permanent": false, + "description": "Voir n'importe quel⋅le utilisateur⋅rice pour les ouvreur⋅ses" + } + }, + { + "model": "permission.permission", + "pk": 249, + "fields": { + "model": [ + "note", + "note" + ], + "query": "[\"NOT\", {\"pk__isnull\": [\"user\", \"note\", \"activity_responsible\", [\"filter\", {\"activity__open\": true, \"activity__activity_type__manage_entries\":true}], [\"exists\"]]}]", + "type": "view", + "mask": 2, + "field": "", + "permanent": false, + "description": "Voir toutes les notes lorsque utilisateur⋅rice est ouvreur⋅ses" + } + }, { "model": "permission.role", "pk": 1, diff --git a/note.cron b/note.cron index 2f75f989..5509deaf 100644 --- a/note.cron +++ b/note.cron @@ -27,4 +27,5 @@ MAILTO=notekfet2020@lists.crans.org # Vider les tokens Oauth2 00 6 * * * root cd /var/www/note_kfet && env/bin/python manage.py cleartokens -v 0 # Envoyer la liste des abonnés à la NL BDA - 00 8 * * 0 root cd /var/www/note_kfet && env/bin/python manage.py extract_ml_registrations -t art -v 0 \ No newline at end of file + 00 10 * * 0 root cd /var/www/note_kfet && env/bin/python manage.py extract_ml_registrations -t art + \ No newline at end of file