SnailyCAD / snaily-cadv4

💻 An open source Computer Aided Dispatch (CAD) for FiveM, this is a web based integration for communities who love police roleplaying and dispatching. Discord: https://discord.gg/eGnrPqEH7U
https://docs.snailycad.org/docs/getting-started
MIT License
137 stars 83 forks source link

Add Permission : Change Officer Rank & Callsign and possibly View Time Logs Only #1922

Open Legacy-TacticalGamingInteractive opened 3 months ago

Legacy-TacticalGamingInteractive commented 3 months ago

Describe the feature

Could we have some permissions added or edited for security reasons?

• A second LEO Supervisor role tied to Discord Roles that does not have as much access as the current Manage Units permission because its a security risk.

This lower Supervisor role can have the following permissions: • Manage another Officer's Rank • Manage another Officer's Callsign

And maybe if possible: • Ability to view Department Time/Duty Logs

Additional Context

For lower ranked Supervisors etc. So they can update someones rank when they get promoted or demoted.

Right now the only way to do that is through Manage Units which is way more risky to grant. People can then delete peoples units or change officer's names or suspend them and all kinds of things. We have experienced this issue with trolls before who were once Command in a department, and they had the Manage Units permission. When they got demoted they got angry and ruined hundreds of Officer's profiles.

So it would be better if we could just have ability to separate these permissions from the other general Manage Unit ones. As it is very vulnerable to attack.

In our case, the most required permission that regular level command members need for their department's officers are the ability to update their rank and callsign when they get promoted or demoted.

As for duty/time logs, this section is on the Manage Units page, but perhaps it could be separated. They use this for checking peoples activity levels.

Legacy-TacticalGamingInteractive commented 1 month ago

Do we know if this is going to be possible.

Manage Officer Rank and Manage Officer Callsign underneath Supervisor Role.

@Infiniti-Development

Infiniti-Development commented 1 month ago

That will be unknown At this moment i am not working on SnailyCad because other project's prio's This can be picked up by any one.