Skip to content

armgit / wger

Public Imported from GitHub
0

Self hosted FLOSS fitness/workout, nutrition and weight tracker

Add weightunit permissions to admin group

Roland Geiderb7695f8668d8
diff --git a/wger/core/fixtures/groups.json b/wger/core/fixtures/groups.json
index 4aa1a98ec..99da39858 100644
--- a/wger/core/fixtures/groups.json
+++ b/wger/core/fixtures/groups.json
@@ -1,7 +1,5 @@
[
{
- "model": "auth.group",
- "pk": 1,
"fields": {
"permissions": [
[
@@ -79,6 +77,21 @@
"core",
"repetitionunit"
],
+ [
+ "add_weightunit",
+ "core",
+ "weightunit"
+ ],
+ [
+ "change_weightunit",
+ "core",
+ "weightunit"
+ ],
+ [
+ "delete_weightunit",
+ "core",
+ "weightunit"
+ ],
[
"add_equipment",
"exercises",
@@ -261,11 +274,11 @@
]
],
"name": "admin"
- }
+ },
+ "model": "auth.group",
+ "pk": 1
},
{
- "model": "auth.group",
- "pk": 2,
"fields": {
"permissions": [
[
@@ -300,11 +313,11 @@
]
],
"name": "general_gym_manager"
- }
+ },
+ "model": "auth.group",
+ "pk": 2
},
{
- "model": "auth.group",
- "pk": 3,
"fields": {
"permissions": [
[
@@ -384,11 +397,11 @@
]
],
"name": "gym_manager"
- }
+ },
+ "model": "auth.group",
+ "pk": 3
},
{
- "model": "auth.group",
- "pk": 4,
"fields": {
"permissions": [
[
@@ -438,14 +451,16 @@
]
],
"name": "gym_trainer"
- }
+ },
+ "model": "auth.group",
+ "pk": 4
},
{
- "model": "auth.group",
- "pk": 5,
"fields": {
"permissions": [],
"name": "gym_member"
- }
+ },
+ "model": "auth.group",
+ "pk": 5
}
]
\ No newline at end of file