objectcomputing / check-ins

Other
7 stars 7 forks source link

Use the same message for all permission issues #2518

Closed timyates closed 1 week ago

timyates commented 1 week ago

Currently in the back-end, we have 8 different messages when the current user's permissions are not enough to perform an operation;

This PR consolodates all these to a single message (the same message as in the front-end)

The value of this comes from a constant in PermissionsValidation incase we want to update across the app at a future date.