mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-11-29 08:06:46 +00:00
fix: name groups in the access view's permission error
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
6604c028ee
commit
20b8a1e976
@@ -201,7 +201,8 @@ async fn get_access(
|
||||
};
|
||||
if !allowed {
|
||||
return Err(Error::PermissionDenied(
|
||||
"only workspace admins can view another member's access".into(),
|
||||
"only workspace admins can view the access of another member or of a group you are not in"
|
||||
.into(),
|
||||
));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user