title: Change permissions of a SharePoint list using JavaScript
body: <p>I have an app that creates a list. I'd like the app to also set the list permissions to only allow admins to make changes to the list. I know how to hide the list, but I understand that this will not prevent clever users from typing in the URL of the list and modifying it anyway.</p>
  
  <p>I don't see a way of changing list permissions with JavaScript. The functions available to me for lists don't seem to allow for modification of permissions, but it's possible I overlooked the correct one(s).</p>
  
  <p>Any pointers on what functions I should be looking at?</p>