Library/Item Level permissions using SP Groups (Build Flow for Item Level Perms)(Part 3)
Автор: Ronald Ties
Загружено: 2023-11-07
Просмотров: 8
This is the Third of Four videos in a series to walk you thru how to setup a Power App and two Power Automate Flows to set permissions for a Library level permissions and / or Item Level permission in a library or List.
Here are the logics for the HTTP calls in the Power Automate:
URIs for IDS from SP for Perms Level and SP Groups......
Get Role ID for Group:
Method: Get
URI: _api/web/roledefinitions/GetByName('~internal name (one inside the address group once you open group)~')
Headers: ~none~
Body: ~none~
To Pull ID: body('~Step Name~')?['d']['id']
Get Principle ID for Permissions Levels:
Method: Get
URI: _api/web/siteGroups/getByName('~Name of display name of Group~')
Headers: ~none~
Body: ~none~
To Pull ID: body('~Step Name~')?['d']['id']
Set SP Group Permissions (Applying SP Group to Folder/File perms):
Method: POST
URI: _api/lists/getByTitle('~Library Name~')/items(~ID #~')/roleAssignments/addRoleAssignment(PrincipalId=~Id of SP Group~,
roleDefId=~Perms Level ID~)
Headers: ~none~
Body: ~none~
Role Defination IDs for OOTB Permission Levels in SPO:
Role Definition Name Role Definition Id
Full Control 1073741829
Design 1073741828
Edit 1073741830
Contribute 1073741827
Read 1073741826
Limited Access 1073741825
View Only 1073741924
websource: https://www.c-sharpcorner.com/article...
Links to videos in this series:
Demo of Final Product: • Library/Item Level permissions using SP Gr...
Build of Library Level Permission Power Automate Flow: • Library/Item Level permissions using SP Gr...
Build of Item Level Permission Power Automate Flow: • Library/Item Level permissions using SP Gr... (This Video)
Modification of Existing Power App to facilitate the Flows: • Library/Item Level permissions using SP Gr...
Доступные форматы для скачивания:
Скачать видео mp4
-
Информация по загрузке: