Hello SharePoint Team,

I developed a new version of SharePoint list, so I want to set older list as Read only mode after 2 AM . So is there any way to do it?

  • 1
    list.BreakRoleInheritance, then update all the roles to only have the read permission. – Bunzab Dec 13 '19 at 15:29
  • list.BreakRoleInheritance? What is this? I haven't use any programming code to build it. – Jay Patel Dec 13 '19 at 15:32
  • 1
    If you don't want to use the API then you can manually update all permissions on the list to be read only. – Bunzab Dec 13 '19 at 16:02
  • Thanks! Bunzab! – Jay Patel Dec 13 '19 at 16:10

Just as an option, you can use Flow/PowerAutomate to reset permission on schedule.Use the trigger schedule-recurrence. Still you will need to call Http service to use API, here is an tutorial.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.