cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Gopakumar
New Member

Need help in granting Edit permission in Sharepoint list based on a Column value

Need help in granting Edit permission in Sharepoint list based on a Column value

 

The Log is :- If col value='XYZ', then only user A can edit the row.

1 ACCEPTED SOLUTION

Accepted Solutions
v-bofeng-msft
Community Support
Community Support

Hi @Gopakumar :

Is this editing permission set for the entire SharePoint list or just for this Canvas App? The two are different.

Case1: Set for the entire SharePoint list

I'm not sure if this can be achieved, I suggest you consult a SharePoint expert.

Case2: For your Canvas App

Just set the DisplayMode property of the corresponding control.For example:

I assume that your users submit changes via a button.Set the button's DisplayMode to:

If(
(colvalue="XYZ" && User().Email="UserA@xx.com")||
(colvalue="XXX" && User().Email="Userb@xx.com")||
(colvalue="YYY" && User().Email="UserC@xx.com")||
(colvalue="ZZZ" && User().Email="UserD@xx.com")
,
DisplayMode.Edit,
DisplayMode.Disabled
)

Best Regards,

Bof

 

View solution in original post

1 REPLY 1
v-bofeng-msft
Community Support
Community Support

Hi @Gopakumar :

Is this editing permission set for the entire SharePoint list or just for this Canvas App? The two are different.

Case1: Set for the entire SharePoint list

I'm not sure if this can be achieved, I suggest you consult a SharePoint expert.

Case2: For your Canvas App

Just set the DisplayMode property of the corresponding control.For example:

I assume that your users submit changes via a button.Set the button's DisplayMode to:

If(
(colvalue="XYZ" && User().Email="UserA@xx.com")||
(colvalue="XXX" && User().Email="Userb@xx.com")||
(colvalue="YYY" && User().Email="UserC@xx.com")||
(colvalue="ZZZ" && User().Email="UserD@xx.com")
,
DisplayMode.Edit,
DisplayMode.Disabled
)

Best Regards,

Bof

 

View solution in original post

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

Top Solution Authors
Top Kudoed Authors
Users online (2,326)