Problem
How can you to check the permissions required to view a page in Google Cloud Platform console?
Environment
- Cloud Console
Solution
Follow the below steps in order to check the permissions required to view a page in Google Cloud Platform.
Below is an example for permissions required to view the Activity page:
- Navigate to the activity page and right click on the page. Go to Inspect or Developer tools.
- Once the inspect panel pops up, navigate to the network panel and filter for
testIampermissions.
- Click
testIamPermissions?resource_type=0
and under the Response tab you can see the value ofpermissions.
For activity page, you can see that the value of permissions as
cloudnotifications.activities.list
logging.logEntries.list
logging.privateLogEntries.list
These are the permissions required to view the activity page and the you can create a custom role with the above permissions.