Introduced in Feature Pack 2

Implementing access control for version services

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

  1. Review the access control policy in the following topic: Content versioning access control.
  2. Define the content version access control profile.
    1. Create your access control policy file. For example, accesscontrol_filename.xml; where accesscontrol_filename.xml is the name of the policy file.
    2. Edit your access control policy file located in the WCDE_installdir\xml\policies\xml\ directory.
    3. Define an action, an action group, a resource group, and a policy for the content version services.
    4. Save the changes.
  3. Stop the WebSphere Commerce test server.
  4. 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.