add get role to integration api

This commit is contained in:
miloschwartz
2025-06-04 17:28:40 -04:00
parent 96b451843c
commit 4593edbb45
2 changed files with 19 additions and 0 deletions

View File

@@ -280,6 +280,13 @@ authenticated.delete(
role.deleteRole
);
authenticated.get(
"/role/:roleId",
verifyApiKeyRoleAccess,
verifyApiKeyHasAction(ActionsEnum.getRole),
role.getRole
);
authenticated.post(
"/role/:roleId/add/:userId",
verifyApiKeyRoleAccess,