Samples > Sample: Access control policies for development purposes
Sample: Access control policy for new views
If you create a new view, you can use the following access control policy so that we will be able to test the new view in the development environment (modify the policy for the environment and load it using the acpload utility).
<?xml version="1.0" encoding="ISO-8859-1" standalone="no" ?> <!DOCTYPE Policies SYSTEM "../dtd/accesscontrolpolicies.dtd"> <Policies> <Action Name="YourNewView" CommandName="YourNewView"> </Action> <ActionGroup Name="AllSiteUsersViews" OwnerID="RootOrganization"> <ActionGroupAction Name="YourNewView"/> </ActionGroup> </Policies>
Where:
- YourNewView
- Is the name of the newly created view.
The preceding access control policy adds the new view to the existing AllSiteUsersViews action group. This policy allows any user to access the new view.
Related concepts
Related tasks
Create an access control policy
Define access control policy elements using XML
Related reference
Sample: Access control policies for development purposes