-
Notifications
You must be signed in to change notification settings - Fork 0
Description
π Copied from microsoft/fabric-cli#97 for AI triage testing.
Expected triage outcome: Help Wanted
Question
In the documentation it states that fab acl ls requires the Fabric Administrator role:
https://github.com/microsoft/fabric-cli/blob/fd4f054c430f651444662aed380536f521658334/docs/commands/acls/index.md?plain=1#L22-L32
When checking the code, to me it does not seem to use any Admin APIs? For example the workspace acl ls:
https://github.com/microsoft/fabric-cli/blob/fd4f054c430f651444662aed380536f521658334/src/fabric_cli/client/fab_api_workspace.py#L76-L81
Context
I have tested the fab acl ls with a user that only has workspace admin privileges (not Fabric Admin privileges) and the command succeeds just fine (even the fab cli states it requires Fabric Admin role).
$ fab acl ls DEMO Fabric CICD-feat-cleanup-workspace-after-branch-deletion.Workspace
! Requires Fabric admin role
acl identity type
------------------------------------------------------------------
Admin XXXXXXXXXXXXXXXXXXXXXX Group
Admin XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX User
Admin XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX ServicePrincipalfabric-cli version (if relevant)
1.3.1
Operating System (if relevant)
Not applicable
CLI Mode (if relevant)
Not applicable
Have you checked the documentation?
- I have searched existing GitHub issues
- I have reviewed the fabric-cli documentation
Additional Information
No response