cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
DanielTan
Level: Powered On

User can create new input but cannot delete or edit upload

Hi,

 

Can I only give authorization to users to add SharePoint list but not delete or edit the information? Thanks.

1 ACCEPTED SOLUTION

Accepted Solutions
Community Support Team
Community Support Team

Re: User can create new input but cannot delete or edit upload

Hi @DanielTan,

 

Not really.

Data operations permission is mostly configured at the data source side, which here should be SharePoint site. Only have the user with create new item should be able to configure under SharePoint.

 

In PowerApps, there is no proper way to restrict user permissions regarding Data Operation.

We could somehow hide the Edit or delete action based on the information of the user logon.

For example, change the Disabled or Visible property of the Edit Button or the Delete Button to false if the user Mail not within the allowed list.

Formula should be:

If(IsEmpty(
     Filter(Userlist, User().Email=EmailColumn)
                ),
     false,
      true
)

Which means if the user is not listed in the Email List, the Button would be invisible or disabled.

 

If you have any further questions, please post back.

 

Regards,

Michael

 

Community Support Team _ Michael Shao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

1 REPLY 1
Community Support Team
Community Support Team

Re: User can create new input but cannot delete or edit upload

Hi @DanielTan,

 

Not really.

Data operations permission is mostly configured at the data source side, which here should be SharePoint site. Only have the user with create new item should be able to configure under SharePoint.

 

In PowerApps, there is no proper way to restrict user permissions regarding Data Operation.

We could somehow hide the Edit or delete action based on the information of the user logon.

For example, change the Disabled or Visible property of the Edit Button or the Delete Button to false if the user Mail not within the allowed list.

Formula should be:

If(IsEmpty(
     Filter(Userlist, User().Email=EmailColumn)
                ),
     false,
      true
)

Which means if the user is not listed in the Email List, the Button would be invisible or disabled.

 

If you have any further questions, please post back.

 

Regards,

Michael

 

Community Support Team _ Michael Shao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

Helpful resources

Announcements
thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Power Platform World Tour

Find out where you can attend!

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

Top Kudoed Authors
Users Online
Currently online: 201 members 4,396 guests
Please welcome our newest community members: