Skip to content

fix: only return group member count for workspace acl#26206

Open
sreya wants to merge 1 commit into
mainfrom
workspace-acls
Open

fix: only return group member count for workspace acl#26206
sreya wants to merge 1 commit into
mainfrom
workspace-acls

Conversation

@sreya

@sreya sreya commented Jun 10, 2026

Copy link
Copy Markdown
Collaborator

No description provided.

GET /api/v2/workspaces/{id}/acl was authorized only by ActionRead on the
workspace, but escalated to the System context to fetch each ACL group's
full member roster (including member email, last seen, login type, status,
and created at) and returned it directly to the caller. A user merely
shared a workspace could therefore enumerate the PII of every member of
every group on that workspace's ACL.

Return the group identity and total member count only, omitting the member
roster for all callers. This matches the chat ACL and template
available-ACL endpoints, which already use GetGroupMembersCountByGroupIDs
and leave the roster empty.

Addresses ANT-2026-22459.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant