cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
FlintWestwood
Frequent Visitor

Manage Permissions

Hey there,

 

I want to close an Item by changing a value in a SharePoint List. I am currently working without approving items.

My vision is

  1. Item is completed
  2. Manager opens PowerApp, which only he is able to use, with Office365 Department Check (is working)
  3. Manager Closes Item with Button
  4. Item Permission of Group "Members" is set to view only

Hope you can help me

 

1 ACCEPTED SOLUTION

Accepted Solutions

Hi @FlintWestwood ,

That is not possible in SharePoint - it does not interact directly with anything other than its own data.

View solution in original post

8 REPLIES 8
eka24
Super User III
Super User III

Does closing means changing a column description from "start" to "completed" in the sharepoint list
Your request request not clear.

If you like this post, give a thumbs up. Where it solved your issue, Mark as a solution

Hi,

 

the Manager Closes the Item via a Button, which changes the Permission of the Member Group to "View Only".

The same way as to changing the Access via the context menu -> Manage Access and the menu shown below.

image.png

 

There can be a new column created, with the Yes/No comment, but it should work via a button in the PowerApp.

Hi @FlintWestwood ,

What type of view are you referring to in PowerApps, a Gallery or an individual item form?

It can certainly be done with a button on either.

Then how are others viewing the data that has to be read only?

 

Hi @WarrenBelz,

 

the app is a canvas app and has a BrowseGallery, where the item can be selected and is displayed next to the BrowseGallery in a Form. Via a button in the header, the permission of "Members" on the SharePoint list should be set to view only.

The Employees are only able to work with the SharePoint list.

Hi @FlintWestwood ,

You need to find the group - I assume it is in the User Profile - for example

Office365Users.UserProfile(User().Email).JobTitle

finds the User's Job title 

So for example, if it is in Group, on the FormMode of the form

If(
   Office365Users.UserProfile(User().Email).Group = "Members",
   FormMode.View,
   FormMode.Edit
)

 

Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

 

Hi @WarrenBelz,

 

I need the restriction to be in the SharePoint list.

 

I have the restrictions on the app working with a lookup of the Department.

The App Gallery does not need the restrictions, the item in the list needs it.

Hi @FlintWestwood ,

That is not possible in SharePoint - it does not interact directly with anything other than its own data.

View solution in original post

Hi @WarrenBelz,

 

thank you for your answer.

Do you know if it is possible to do this with a flow?

 

Best Regards

Helpful resources

Announcements
PA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

MBAS Attendee Badge

Claim Your Badge & Digital Swag!

Check out how to claim yours today!

secondImage

Are Your Ready?

Test your skills now with the Cloud Skill Challenge.

Top Solution Authors
Top Kudoed Authors
Users online (37,920)