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:
Guilhem Lemouel
2026-11-02 00:55:25 -08:00
co-authored by Claude Opus 5.5
parent 6604c028ee
commit 20b8a1e976
+2 -1
View File
@@ -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(),
));
}