mirror of
https://github.com/fosrl/pangolin.git
synced 2026-03-02 00:36:38 +00:00
add get role to integration api
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user