mirror of
https://github.com/owncloud/ocis.git
synced 2026-10-23 23:29:02 +03:00
ListPermissions only special-cased the $select for the roles allowedValues, so a request selecting only @libre.graph.permissions.actions.allowedValues still received the roles allowedValues too. Add the symmetric projection: when actions are selected, drop the roles allowedValues and skip the share lookup, mirroring the existing roles-only path. Signed-off-by: David Walter <david.walter@kiteworks.com> Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>