Relay system information in RoleAssignmentNotFound
Since it's possible to have a role assignment on the system now, we should make sure we handle that case in the RoleAssignmentNotFound exception bp system-scope Change-Id: I2388d65ffa5b68690d9c4f0dd16f16e158f5a091
This commit is contained in:
parent
bca46a6f45
commit
705ff135da
@ -378,7 +378,7 @@ class DomainSpecificRoleNotWithinIdPDomain(Forbidden):
|
||||
class RoleAssignmentNotFound(NotFound):
|
||||
message_format = _("Could not find role assignment with role: "
|
||||
"%(role_id)s, user or group: %(actor_id)s, "
|
||||
"project or domain: %(target_id)s.")
|
||||
"project, domain, or system: %(target_id)s.")
|
||||
|
||||
|
||||
class RegionNotFound(NotFound):
|
||||
|
Loading…
Reference in New Issue
Block a user