New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
New command: spo roledefinition list #3237
Comments
ok one comment here (mainly for me 😉) TBH I did not double checked if maybe this information may already be retrieved using MS Graph instead of SP rest API. I will need to check this and if not, what I suggested above is ok 😊. At least I hope so 🤔 |
Thank you for the spec! A couple of comments:
|
BTW thanks for the quick response and feedback during easter time 👍. Seems like you are always available 😊. You rock 👍 |
Thank you for a quick turnaround! Would you like to pick it up yourself or let others help? |
I can give it a shot, let's not keep this one waiting. |
All yours! Thank you! 👏 |
Usage
m365 spo roledefinition list
Description
should retrieve list of role definitions from web
Options
-u, --webUrl <webUrl>
Additional Info
managing role definitions (for now listing and getting single role will be enough but there is room for additional commands here 😉) is the second step before we start adding some commands which will allow to manage permissions on items (add/remove roles etc.) which is what I would like to aim as described here #3184.
getting the list of role definitions from site may be done using simple GET request
/_api/web/roledefinitions
So when running this request for web with the following roles
the result is
The text was updated successfully, but these errors were encountered: