I am trying to understand SPSecurityTrimmedControl. I want to make use of it in Master page to hide Site action (the gear icon) from all readonly users.
I found there is a parameter "PermissionContext". But I could not find any example using it. Following are the Permission Context values:
- Current Folder
- Current Item
- Current List
- Current Site
- Root Site
In SharePoint, the user is always reading single page. When you open a new page, the control will be rendered again according to that page's settings. What is the use for specific the PermissionContext?