The content version service operates on all the
nouns that are enabled for versioning.To allow your Object
Manager to create, restore, delete, change, and display versions of
your custom objects, you must define an action, an action group, a
resource group, and a policy.
Before you begin
- Open the sample content version access control policy file located
in WCDE_installdir\components\foundation\xml\policies\xml\ContentAccessControlPolicies.xml for
reference purposes.
Procedure
- Review the access control policy in the following topic: Content versioning access control.
- Define the content version access control profile.
- Create your access control policy file. For example, accesscontrol_filename.xml;
where accesscontrol_filename.xml is the name of
the policy file.
- Edit your access control policy file located in the WCDE_installdir\xml\policies\xml\ directory.
- Define an action, an action group, a resource group,
and a policy for the content version services.
- Save the changes.
- Stop
the WebSphere Commerce test server.
- From the command prompt, navigate to WCDE_installdir\bin.
- Run the command:
acpload accesscontrol_filename.xml
;
where accesscontrol_filename.xml is the name of
your access control policy file.