Skip to content

armgit / wger

Public Imported from GitHub
0

Self hosted FLOSS fitness/workout, nutrition and weight tracker

Splot exercise permission group

Roland Geider61deed53c0b4
diff --git a/wger/core/fixtures/groups.json b/wger/core/fixtures/groups.json
index 226bcfa60..bbc115af5 100644
--- a/wger/core/fixtures/groups.json
+++ b/wger/core/fixtures/groups.json
@@ -481,6 +481,75 @@
{
"fields": {
"name": "exercises_editor",
+ "permissions": [
+ [
+ "add_translation",
+ "exercises",
+ "translation"
+ ],
+ [
+ "change_translation",
+ "exercises",
+ "translation"
+ ],
+ [
+ "delete_translation",
+ "exercises",
+ "translation"
+ ],
+ [
+ "add_exercise",
+ "exercises",
+ "exercise"
+ ],
+ [
+ "change_exercise",
+ "exercises",
+ "exercise"
+ ],
+ [
+ "delete_exercise",
+ "exercises",
+ "exercise"
+ ],
+ [
+ "add_exercisecomment",
+ "exercises",
+ "exercisecomment"
+ ],
+ [
+ "change_exercisecomment",
+ "exercises",
+ "exercisecomment"
+ ],
+ [
+ "delete_exercisecomment",
+ "exercises",
+ "exercisecomment"
+ ],
+ [
+ "add_exerciseimage",
+ "exercises",
+ "exerciseimage"
+ ],
+ [
+ "change_exerciseimage",
+ "exercises",
+ "exerciseimage"
+ ],
+ [
+ "delete_exerciseimage",
+ "exercises",
+ "exerciseimage"
+ ]
+ ]
+ },
+ "model": "auth.group",
+ "pk": 6
+ },
+ {
+ "fields": {
+ "name": "exercises_admin",
"permissions": [
[
"add_equipment",
@@ -590,6 +659,6 @@
]
},
"model": "auth.group",
- "pk": 6
+ "pk": 7
}
]