Skip to content

armgit / wger

Public Imported from GitHub
0

Self hosted FLOSS fitness/workout, nutrition and weight tracker

Update default 'admin' permission group

Roland Geider7360a43fe47e
diff --git a/wger/manager/fixtures/groups.json b/wger/manager/fixtures/groups.json
index 44ed38923..b4578dfa0 100644
--- a/wger/manager/fixtures/groups.json
+++ b/wger/manager/fixtures/groups.json
@@ -5,6 +5,21 @@
"fields": {
"name": "admin",
"permissions": [
+ [
+ "add_gymconfig",
+ "config",
+ "gymconfig"
+ ],
+ [
+ "change_gymconfig",
+ "config",
+ "gymconfig"
+ ],
+ [
+ "delete_gymconfig",
+ "config",
+ "gymconfig"
+ ],
[
"add_languageconfig",
"config",
@@ -21,30 +36,45 @@
"languageconfig"
],
[
- "add_daysofweek",
+ "add_gym",
"core",
- "daysofweek"
+ "gym"
],
[
- "change_daysofweek",
+ "change_gym",
"core",
- "daysofweek"
+ "gym"
],
[
- "delete_daysofweek",
+ "delete_gym",
+ "core",
+ "gym"
+ ],
+ [
+ "add_exercisecomment",
"core",
- "daysofweek"
+ "language"
],
[
"add_language",
"core",
"language"
],
+ [
+ "change_exercisecomment",
+ "core",
+ "language"
+ ],
[
"change_language",
"core",
"language"
],
+ [
+ "delete_exercisecomment",
+ "core",
+ "language"
+ ],
[
"delete_language",
"core",
@@ -65,21 +95,66 @@
"core",
"license"
],
+ [
+ "add_exercisecategory",
+ "core",
+ "userprofile"
+ ],
+ [
+ "change_exercisecategory",
+ "core",
+ "userprofile"
+ ],
+ [
+ "delete_exercisecategory",
+ "core",
+ "userprofile"
+ ],
+ [
+ "add_equipment",
+ "easy_thumbnails",
+ "thumbnail"
+ ],
+ [
+ "change_equipment",
+ "easy_thumbnails",
+ "thumbnail"
+ ],
+ [
+ "delete_equipment",
+ "easy_thumbnails",
+ "thumbnail"
+ ],
[
"add_equipment",
"exercises",
"equipment"
],
+ [
+ "add_ingredient",
+ "exercises",
+ "equipment"
+ ],
[
"change_equipment",
"exercises",
"equipment"
],
+ [
+ "change_ingredient",
+ "exercises",
+ "equipment"
+ ],
[
"delete_equipment",
"exercises",
"equipment"
],
+ [
+ "delete_ingredient",
+ "exercises",
+ "equipment"
+ ],
[
"add_exercise",
"exercises",
@@ -156,34 +231,109 @@
"muscle"
],
[
- "add_ingredient",
+ "add_language",
+ "manager",
+ "setting"
+ ],
+ [
+ "change_language",
+ "manager",
+ "setting"
+ ],
+ [
+ "delete_language",
+ "manager",
+ "setting"
+ ],
+ [
+ "add_daysofweek",
+ "manager",
+ "workout"
+ ],
+ [
+ "change_daysofweek",
+ "manager",
+ "workout"
+ ],
+ [
+ "delete_daysofweek",
+ "manager",
+ "workout"
+ ],
+ [
+ "add_muscle",
+ "manager",
+ "workoutlog"
+ ],
+ [
+ "change_muscle",
+ "manager",
+ "workoutlog"
+ ],
+ [
+ "delete_muscle",
+ "manager",
+ "workoutlog"
+ ],
+ [
+ "add_ingredientweightunit",
"nutrition",
"ingredient"
],
[
- "change_ingredient",
+ "change_ingredientweightunit",
"nutrition",
"ingredient"
],
[
- "delete_ingredient",
+ "delete_ingredientweightunit",
"nutrition",
"ingredient"
],
[
- "add_ingredientweightunit",
+ "add_languageconfig",
"nutrition",
- "ingredientweightunit"
+ "mealitem"
],
[
- "change_ingredientweightunit",
+ "change_languageconfig",
"nutrition",
- "ingredientweightunit"
+ "mealitem"
],
[
- "delete_ingredientweightunit",
+ "delete_languageconfig",
"nutrition",
- "ingredientweightunit"
+ "mealitem"
+ ],
+ [
+ "add_exerciseimage",
+ "tastypie",
+ "apiaccess"
+ ],
+ [
+ "change_exerciseimage",
+ "tastypie",
+ "apiaccess"
+ ],
+ [
+ "delete_exerciseimage",
+ "tastypie",
+ "apiaccess"
+ ],
+ [
+ "add_exercise",
+ "weight",
+ "weightentry"
+ ],
+ [
+ "change_exercise",
+ "weight",
+ "weightentry"
+ ],
+ [
+ "delete_exercise",
+ "weight",
+ "weightentry"
]
]
}