Skip to content

Add --withPermissions option to spo file get command 🔐 #4040

@Adam-it

Description

@Adam-it

🎯 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

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions