Skip to main content

Posts

Showing posts with the label Load Access Control Policies using SQL's

Load Access Control Policies using SQL's

There is another way to load the acpload script. The below set of SQL's to load Access control policy for new commands and Views. Here is an example from info center to create a new custom View  http://publib.boulder.ibm.com/infocenter/wchelp/v7r0m0/topic/com.ibm.commerce.developer.tutorial.doc/tutorial/ttd12.htm Sample Custom View Policy:   View Policy XML to be loaded using acpload:   <?xml version="1.0" encoding="ISO-8859-1" standalone="no" ?> <!DOCTYPE Policies SYSTEM "../dtd/accesscontrolpolicies.dtd"> <Policies> <Action Name="MyNewView"    CommandName="MyNewView"> </Action> <ActionGroup Name="AllSiteUsersViews"             OwnerID="RootOrganization">             <ActionGroupAction Name="MyNewView"/> </ActionGroup> </Policies> You will then copy this xml in /xml/policies and run "acpload" as follo