-
Notifications
You must be signed in to change notification settings - Fork 618
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
NFSD Access Overhaul #1459
NFSD Access Overhaul #1459
Conversation
Add |
On a more technical note, merge in the latest changes and set up the broadhead with access levels. |
I agree with the suggested access changes actually, especially if we are going to be trying to steer the brigmedic away from officer mentality stuff or regular deputy stuff |
correct, the detective works directly for the sheriff not the bailiff. |
This pull request has conflicts, please resolve those before we can evaluate the pull request. |
This pull request has conflicts, please resolve those before we can evaluate the pull request. |
d68542e
to
0820a6a
Compare
points at github |
0820a6a
to
a5ca068
Compare
glairs at github |
pulls out the throngler |
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.
Throwing my hat in on this one.
I've taken a look through the code and come up with a set of suggestions on whatston3:NFSD-access-expansion-tests-and-suggestions
There's a diff without the merge of the current head of master up here
In brief:
- Removed LINQ from the shipyard console code, replaced it with iterators and if statements.
- Added checks for the ship's access against a role's groups as well as their tags - the sheriff can now buy a ship despite not having any explicit access tags.
- Removed the officer/executive/sheriff security groups: too small to warrant separate groups at the moment to my mind, easier to just state outright which jobs have which accesses there. Base NFSD one's great, cadet's marginal.
- If the idea was to have all of the definitions in one file, I suppose that's fair, but you'd still need to know both who is in what group and what those accesses are. Not hugely convinced of the value.
- Removed redundant accesses and groups from Sheriff, Detective
- Updated to the current head of master (mostly for testing)
In my (admittedly brief) testing so far, this seems to behave well.
Fixed ship console refresh on id insert or removal Added Access to VesselPrototype Added Filtration to Ship List based off of Access Added Bailiff and Sergeant Access levels Added Access levels to all NFSD ship Added appropriate access groups to NFSD roles
Fixing issue where re-sharper removed un-used using statements per request.
Fixed ship console refresh on id insert or removal Added Access to VesselPrototype Added Filtration to Ship List based off of Access Added Bailiff and Sergeant Access levels Added Access levels to all NFSD ship Added appropriate access groups to NFSD roles
Fixing issue where re-sharper removed un-used using statements per request.
that VS so politly decided to fuck up and then hide the fact that the code would not compile by compiling old code like the little shit that it is. thank god i dont have to be proffessional with my code comments here like i do at work because i ant shit talk VS or Git when i am working so i shall unleach all my rage in this commnet for the 2 of them (git and VS) for being dicks and wasting everybody's time
4059dfb
to
10c0a45
Compare
Nfsd access expansion round 2
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.
Happy with the state of this. Good feature.
Atmospherics and Engineering accesses were removed. Checked with dvir, seemed fine with the changes.
About the PR
NFSD Access Overhaul
Fixed ship console refresh on id insert or removal
Added Access to VesselPrototype
Added Filtration to Ship List based off of Access
Added Bailiff and Sergeant Access levels
Added Access levels to all NFSD ship
Added appropriate access groups to NFSD roles
Why / Balance
In Preperation for incoming NFSD changes
How to test
Go to NFSD ship yard
using each of the NFSD ID cards swap back and fort to observe available ships
ensure that non NFSD has no access
buy an empress and then test again with the empress ships
verify the new permissions for each of the NFSD roles at the ID console
Media
Breaking changes
Changelog
🆑