Sample: Access control policy for new views

If you create a new view, you can use the following access control policy so that you will be able to test the new view in your development environment (modify the policy for your 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.