🎯 Aim
The aim is to add --withPermissions option to spo file get command.
When used CLI should return associated roles and permissions of the file.
🤔 Example
Similar functionality was already developed in spo list get command so we may use it as an example.
🔍 What might be used to achieve this
list permissions on item level (file, folder)
.../_api/web/lists/getbytitle('test1')/items(1)/RoleAssignments?$expand=Member,RoleDefinitionBindings
Parent issue
#3972
🎯 Aim
The aim is to add
--withPermissionsoption tospo file getcommand.When used CLI should return associated roles and permissions of the file.
🤔 Example
Similar functionality was already developed in
spo list getcommand so we may use it as an example.🔍 What might be used to achieve this
list permissions on item level (file, folder)
Parent issue
#3972