-
Notifications
You must be signed in to change notification settings - Fork 292
Add ability to limit access to the MDT by job and grade level #516
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||
|---|---|---|---|---|---|---|---|---|
|
|
@@ -64,26 +64,29 @@ Config.RosterLink = { | |||||||
| ['sapr'] = '', | ||||||||
| } | ||||||||
|
|
||||||||
| -- Set the min grade level required to access the MDT | ||||||||
| -- Set to 0 to allow all grades | ||||||||
| Config.PoliceJobs = { | ||||||||
| ['police'] = true, | ||||||||
| ['lspd'] = true, | ||||||||
| ['bcso'] = true, | ||||||||
| ['sast'] = true, | ||||||||
| ['sasp'] = true, | ||||||||
| ['doc'] = true, | ||||||||
| ['lssd'] = true, | ||||||||
| ['sapr'] = true, | ||||||||
| ['pa'] = true | ||||||||
| ['police'] = { minGradeRequired = 0 }, | ||||||||
| ['lspd'] = { minGradeRequired = 0 }, | ||||||||
| ['bcso'] = { minGradeRequired = 0 }, | ||||||||
| ['sast'] = { minGradeRequired = 0 }, | ||||||||
| ['sasp'] = { minGradeRequired = 0 }, | ||||||||
| ['doc'] = { minGradeRequired = 0 }, | ||||||||
| ['lssd'] = { minGradeRequired = 0 }, | ||||||||
| ['sapr'] = { minGradeRequired = 0 }, | ||||||||
| ['pa'] = { minGradeRequired = 0 } | ||||||||
| } | ||||||||
|
|
||||||||
| Config.AmbulanceJobs = { | ||||||||
| ['ambulance'] = true, | ||||||||
| ['doctor'] = true | ||||||||
| ['ambulance'] = { minGradeRequired = 0 }, | ||||||||
| ['doctor'] = { minGradeRequired = 0 } | ||||||||
| } | ||||||||
|
|
||||||||
| -- Add ranks | ||||||||
|
||||||||
| -- Add ranks | |
| -- Set the min grade level required to access the MDT | |
| -- Set to 0 to allow all grades |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Inconsistent indentation detected. The codebase uses tabs for indentation (visible in lines 27-28 and throughout the rest of the file), but lines 24, 26, 29, and 31 use spaces. Please use tabs to maintain consistency with the rest of the codebase.