0

I need to restrict specific users to read/update property bag values in SharePoint Online web part.

Only few users should have get/set permissions.

Any references or leads would be appreciated.

1 Answer 1

0

The only thing you can do is when you build your web part, you may give the second time verification. Like, set a whitelisted group inside of your code. There is calling APIs when you create a web part, so you can try to give the validate the user ID if he/she can access the web part.

1
  • Thanks for the response, I tried that too. It blocks the user to see web part in UI but the user can see the data in F12[dev tools].
    – raju
    Commented Oct 9, 2018 at 10:59

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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