Skip to content
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 sample script: make a list or library read-only for all users #2225

Closed
plamber opened this issue Feb 27, 2021 · 16 comments
Closed

New sample script: make a list or library read-only for all users #2225

plamber opened this issue Feb 27, 2021 · 16 comments

Comments

@plamber
Copy link
Contributor

plamber commented Feb 27, 2021

Docs
Author Salaudeen Rajack
Original Post link
Description Shows how to make a list or library read-only for all users
Keywords SharePoint Online, Governance
@ktskumar
Copy link
Contributor

Hi Waldek, May I take this?

@plamber
Copy link
Contributor Author

plamber commented May 24, 2021

Hi @ktskumar ,
All yours. Thank you for your help.

Br

@ktskumar
Copy link
Contributor

Hi @plamber,
We should need a breakRoleInheritance method for the List / Library to set the unique permissions.
Other options would be UpdateDocumentSharingInfo method for the List.

I couldn't find these options in the CLI. If we already have, please let me know. Otherwise, create a new issue for creating a new command.

Regards,
@ktskumar

@plamber
Copy link
Contributor Author

plamber commented Jun 15, 2021

@pnp/cli-for-microsoft-365-maintainers any suggestions?

@waldekmastykarz
Copy link
Member

Correct, we don't have the necessary command. Would you like to propose a spec for it @ktskumar?

@ktskumar
Copy link
Contributor

Sure @waldekmastykarz, I'll prepare the spec.

@waldekmastykarz
Copy link
Member

Awesome, I appreciate your help @ktskumar

@waldekmastykarz
Copy link
Member

Hey @ktskumar, are you still working on this?

@ktskumar
Copy link
Contributor

Didn't get time on this. Will try this by next week.

@garrytrinder
Copy link
Member

Hey @ktskumar 👋 Are you still working on this?

@martinlingstuyl
Copy link
Contributor

In the meantime we do have a list roleinheritance break command by the way.

https://pnp.github.io/cli-microsoft365/cmd/spo/list/list-roleinheritance-break/

@garrytrinder
Copy link
Member

Good spot @martinlingstuyl 👍

As this is no longer blocked I've moved this issue In progress.

@martinlingstuyl
Copy link
Contributor

@ktskumar, are you still working on this, or should we unassign you?

@waldekmastykarz
Copy link
Member

Resetting as available for picking due to lack of response

@Adam-it Adam-it added the hacktoberfest Issue perfect for hacktoberfest label Sep 25, 2022
@Jwaegebaert Jwaegebaert removed the hacktoberfest Issue perfect for hacktoberfest label Nov 2, 2022
@nicodecleyre
Copy link
Contributor

Can I work on this 🧹

@Adam-it
Copy link
Contributor

Adam-it commented Apr 27, 2023

@nicodecleyre all yours 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
8 participants