I have a power automate flow which runs under a user who have Contribute permission on a list item, the flow consists of 2 actions:-
First action is to break role inheritance, while the second flow to get all the role assignments. now the user (who have contribute permission) can perform the first action, but will get unauthorized access on the second action. So is this a bug inside SharePoint rest API?