stc

a simple time card webapp
git clone _git@git.brennen.work:stc.git
Log | Files | Refs | README

commit 006593530c16ecc19680aeb762dbdbedfecd3df5
parent cae362e4b891f50c4efd036f97760b2e56896b71
Author: Brennen T. Mazur <brennen@madis.cool>
Date:   Mon,  3 Apr 2023 09:54:45 -0600

role meeting with Nolan, clarified roles and permissions

Diffstat:
Mseeds.py | 36++++++++++++++++++++++++++++++------
1 file changed, 30 insertions(+), 6 deletions(-)

diff --git a/seeds.py b/seeds.py @@ -338,14 +338,22 @@ projects5 = { # Permissions documents (only needs array list of str for each 'service') crew = { '_id':1, - 'label': 'Crew', + 'label': 'Crew L1', + 'dashboard': ['punchclock'], + 'admin': [], + 'base_pay_value':10.00 + } + +creaw2 = { + '_id':2, + 'label': 'Crew L2', 'dashboard': ['punchclock'], 'admin': [], 'base_pay_value':10.00 } alead = { - '_id':2, + '_id':3, 'label': 'Assistant Lead', 'dashboard': ['punchclock','fleet'], 'admin': [], @@ -353,23 +361,39 @@ alead = { } lead = { - '_id':3, + '_id':4, 'label': 'Crew Lead', 'dashboard': ['punchclock','fleet','activeusers'], 'admin': [], 'base_pay_value':15.00 } + +personelDirector = { + '_id':5, + 'label': 'Personel Director', + 'dashboard': ['punchclock','fleet','activeusers'], + 'admin': ['agreements','reports','users','roles'], + 'base_pay_value':10.00 + } developer = { - '_id':4, + '_id':6, 'label': 'Web Developer', 'dashboard': ['punchclock','fleet','activeusers'], 'admin': ['agreements','reports','users','roles'], 'base_pay_value':32.00 } +ed = { + '_id':7, + 'label': 'Executive Director', + 'dashboard': ['punchclock','fleet','activeusers'], + 'admin': ['agreements','reports','users','roles'], + 'base_pay_value':10.00 + } + manager = { - '_id':5, + '_id':8, 'label': 'Project Manager', 'dashboard': ['punchclock','fleet','activeusers'], 'admin': ['agreements','reports','users','roles'], @@ -377,7 +401,7 @@ manager = { } accountant = { - '_id':6, + '_id':9, 'label': 'Accountant', 'dashboard': ['punchclock','fleet','activeusers'], 'admin': ['agreements','reports','users'],