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

 

Helpful resources

Announcements
Power Apps News & Annoucements carousel

Power Apps News & Announcements

Keep up to date with current events and community announcements in the Power Apps community.

Community Call Conversations

Introducing the Community Calls Conversations

A great place where you can stay up to date with community calls and interact with the speakers.

Power Apps Community Blog Carousel

Power Apps Community Blog

Check out the latest Community Blog from the community!

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