FIX: sending access token to role function to evaluate editing permissions

This commit is contained in:
Gabriel Rosa
2022-08-01 09:17:08 -03:00
parent d76a2b4ab8
commit ebbfe0abff
9 changed files with 164 additions and 78 deletions
+2
View File
@@ -16,6 +16,8 @@ export const AUTH = {
export const ROLE = {
ALREADY_EXIST: 'ROLE.ALREADY_EXISTS',
NOT_FOUND: 'ROLE.NOT_FOUND',
FROM_ANOTHER_CUSTOMER: 'ROLE.FROM_ANOTHER_CUSTOMER',
CANNOT_EDIT_PUBLIC_ROLE: 'ROLE.CANNOT_EDIT_PUBLIC_ROLE',
};
export const USER = {