You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -188,24 +206,28 @@ func (s *service) authorizeResource(ctx context.Context, op *authz.Policy, resou
188
206
returnerrors.Forbidden("forbidden", fmt.Errorf("operation not allowed: This auth token is valid only with the project %q", *token.ProjectName).Error())
189
207
}
190
208
209
+
vardefaultMessage=fmt.Sprintf("you do not have permissions to access the %q with id %q", resourceType, resourceID.String())
191
210
// 2 - We are a user
192
211
// find the resource membership that matches the resource type and ID
193
212
// for example admin in project1, then apply RBAC enforcement
0 commit comments