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
147 stars 86 forks source link

Cannot change order of penal code groups - unexpected error occurred #1846

Closed Alfa1561 closed 1 year ago

Alfa1561 commented 1 year ago

What version of Node.js are you using?

18.17.1

What operating system are you using?

Linux

What version of SnailyCAD are you currently using?

v1.74.0

Describe the Bug

When trying to re-arrange the order of penal code groups, the following error occurs: image

Expected Behavior

As I have owner permissions, I should be able to re-order the penal code groups as I please.

To Reproduce

No response

casperiv0 commented 1 year ago

Do you have a rank of Owner? Or do you simply have Manage CAD Settings permissions? Since that's a very large difference. Will also investigate this issue.

casperiv0 commented 1 year ago

Ah, nvm. This is now fixed. You still require Manage Value Penal Code permissions.