add gameteam permission set
This commit is contained in:
parent
bbc24b88f2
commit
0365be360d
54
src/camps/migrations/0035_add_gameteam_permissionset.py
Normal file
54
src/camps/migrations/0035_add_gameteam_permissionset.py
Normal file
|
@ -0,0 +1,54 @@
|
||||||
|
# Generated by Django 3.1 on 2020-08-16 09:25
|
||||||
|
|
||||||
|
from django.db import migrations
|
||||||
|
|
||||||
|
|
||||||
|
class Migration(migrations.Migration):
|
||||||
|
|
||||||
|
dependencies = [
|
||||||
|
("camps", "0034_add_team_permission_sets"),
|
||||||
|
]
|
||||||
|
|
||||||
|
operations = [
|
||||||
|
migrations.AlterModelOptions(
|
||||||
|
name="permission",
|
||||||
|
options={
|
||||||
|
"default_permissions": (),
|
||||||
|
"managed": False,
|
||||||
|
"permissions": (
|
||||||
|
("backoffice_permission", "BackOffice access"),
|
||||||
|
("badgeteam_permission", "Badge Team permissions set"),
|
||||||
|
("barteam_permission", "Bar Team permissions set"),
|
||||||
|
("certteam_permission", "CERT Team permissions set"),
|
||||||
|
(
|
||||||
|
"constructionteam_permission",
|
||||||
|
"Construction Team permissions set",
|
||||||
|
),
|
||||||
|
("contentteam_permission", "Content Team permissions set"),
|
||||||
|
("economyteam_permission", "Economy Team permissions set"),
|
||||||
|
("foodareateam_permission", "Foodarea Team permissions set"),
|
||||||
|
("gameteam_permission", "Game Team permissions set"),
|
||||||
|
("infoteam_permission", "Info Team permissions set"),
|
||||||
|
("lightteam_permission", "Light Team permissions set"),
|
||||||
|
("logisticsteam_permission", "Logistics Team permissions set"),
|
||||||
|
("metricsteam_permission", "Metrics Team permissions set"),
|
||||||
|
("nocteam_permission", "NOC Team permissions set"),
|
||||||
|
("orgateam_permission", "Orga Team permissions set"),
|
||||||
|
("pocteam_permission", "POC Team permissions set"),
|
||||||
|
("prteam_permission", "PR Team permissions set"),
|
||||||
|
("phototeam_permission", "Photo Team permissions set"),
|
||||||
|
("powerteam_permission", "Power Team permissions set"),
|
||||||
|
("rocteam_permission", "ROC Team permissions set"),
|
||||||
|
("sanitationteam_permission", "Sanitation Team permissions set"),
|
||||||
|
("shuttleteam_permission", "Shuttle Team permissions set"),
|
||||||
|
("sponsorsteam_permission", "Sponsors Team permissions set"),
|
||||||
|
("sysadminteam_permission", "Sysadmin Team permissions set"),
|
||||||
|
("videoteam_permission", "Video Team permissions set"),
|
||||||
|
("websiteteam_permission", "Website Team permissions set"),
|
||||||
|
("wellnessteam_permission", "Wellness Team permissions set"),
|
||||||
|
("expense_create_permission", "Expense Create permission"),
|
||||||
|
("revenue_create_permission", "Revenue Create permission"),
|
||||||
|
),
|
||||||
|
},
|
||||||
|
),
|
||||||
|
]
|
|
@ -30,6 +30,7 @@ class Permission(models.Model):
|
||||||
("contentteam_permission", "Content Team permissions set"),
|
("contentteam_permission", "Content Team permissions set"),
|
||||||
("economyteam_permission", "Economy Team permissions set"),
|
("economyteam_permission", "Economy Team permissions set"),
|
||||||
("foodareateam_permission", "Foodarea Team permissions set"),
|
("foodareateam_permission", "Foodarea Team permissions set"),
|
||||||
|
("gameteam_permission", "Game Team permissions set"),
|
||||||
("infoteam_permission", "Info Team permissions set"),
|
("infoteam_permission", "Info Team permissions set"),
|
||||||
("lightteam_permission", "Light Team permissions set"),
|
("lightteam_permission", "Light Team permissions set"),
|
||||||
("logisticsteam_permission", "Logistics Team permissions set"),
|
("logisticsteam_permission", "Logistics Team permissions set"),
|
||||||
|
|
Loading…
Reference in a new issue