Skip to content

Add --withPermissions option to spo file get command 馃攼 #4040

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions