User permissions on SP list and web part

%3CLINGO-SUB%20id%3D%22lingo-sub-2660603%22%20slang%3D%22en-US%22%3EUser%20permissions%20on%20SP%20list%20and%20web%20part%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2660603%22%20slang%3D%22en-US%22%3E%3CP%3EHello%2C%3C%2FP%3E%3CP%3EI%20am%20creating%20new%20web%20part%20using%20SharePoint%20Framework.%20It%20is%20a%20simple%20form%20that%20users%20populates%20with%20data%20and%20that%20data%20is%20then%20saved%20to%20a%20list.%20I%20have%20added%20the%20web%20part%20to%20page%20and%20it%20works%20great.%20When%20user%20opens%20that%20page%2C%20code%20executes%20and%20web%20part%20stores%20that%20data%20to%20a%20SP%20list.%3C%2FP%3E%3CP%3ESo%2C%20the%20user%20always%20uses%20that%20page%2C%20he%20should%20never%20open%20the%20list%20itself.%3C%2FP%3E%3CP%3ESo%2C%20I%20suppose%20that%20user%20must%20have%20write%20permission%20for%20that%20list%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EBut%2C%20how%20do%20I%20limit%20that%20user%20to%20access%20the%20list%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E
New Contributor

Hello,

I am creating new web part using SharePoint Framework. It is a simple form that users populates with data and that data is then saved to a list. I have added the web part to page and it works great. When user opens that page, code executes and web part stores that data to a SP list.

So, the user always uses that page, he should never open the list itself.

So, I suppose that user must have write permission for that list?

 

But, how do I limit that user to access the list?

0 Replies