Open Adam-it opened 1 month ago
Hi @Adam-it, my remarks:
Lists permissions of a Container
id
, maybe instead of a word, a short sentence: The ID of the SharePoint Embedded Container.roles
as default property. Since this is a list, do we have to format it to a comma-separated list?Hi @Adam-it, my remarks:
- As description, I'd use
Lists permissions of a Container
- As description of the option
id
, maybe instead of a word, a short sentence: The ID of the SharePoint Embedded Container.- I see
roles
as default property. Since this is a list, do we have to format it to a comma-separated list?
good comments @milanholemans 👏 I updated the spec. Check it out. @pnp/cli-for-microsoft-365-maintainers any other comment before I open it up?
LGTM!
Usage
m365 spe container permission list [options]
Description
Lists permissions of a SharePoint Embedded Container
Options
-i, --containerId <id>
Examples
Lists Container permissions
Default properties
Additional Info
we may use the following API: https://learn.microsoft.com/en-us/graph/api/filestoragecontainer-list-permissions?view=graph-rest-1.0&tabs=http
since the response is a complex object like
we will need to extract/modify it for to fit the format of the default response. We will need return
roles
as a comma separated list and extract theuserPrincipalName
from theuser
object