mirror of
https://github.com/BinaryAlley/Nemera.git
synced 2026-12-03 12:11:10 +00:00
Reports a missing permission when updating a user's role and permissions
This commit is contained in:
1 parent
cd1386b9e7
commit
ab4d596500
3 files changed
+21
-16
No files matched your search
+2
-2
@@ -92,13 +92,13 @@ public class UpdateUserRoleAndPermissionsEndpointSummary : Summary<UpdateUserRol
|
||||
}
|
||||
);
|
||||
|
||||
Response(404, "The request failed because the provided role or user do not exist.", "application/problem+json",
|
||||
Response(404, "The request failed because the provided role, user or permission do not exist.", "application/problem+json",
|
||||
example: new
|
||||
{
|
||||
type = "https://tools.ietf.org/html/rfc9110#section-15.5.5",
|
||||
title = "General.NotFound",
|
||||
status = 404,
|
||||
detail = "RoleNotFound | UserDoesNotExist",
|
||||
detail = "RoleNotFound | UserDoesNotExist | PermissionNotFound",
|
||||
instance = "/api/v1/auth/users/{userId}/role-and-permissions",
|
||||
traceId = "00-57d15dadd702dbd4aeb5dc9b7cee68ee-9330237dbb2ce0e5-00"
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user