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:
Lance Bragstad 2018-01-22 21:50:22 +00:00
parent bca46a6f45
commit 705ff135da
1 changed files with 1 additions and 1 deletions

View File

@ -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):