Create a user group for write access to business objects
In this lesson, you create a user group that contains all the roles that can have write
access to the business objects. Within this new
ExtSearchTermAsociationManagersForOrg
user group, you specify that the Category
Manager, Product Manager, Seller, Marketing Manager, and Search Term Manager roles can manage search
term associations.
Procedure
- In a file manager utility, browse to the WCDE_installdir\xml\policies\xml directory.
- Within this directory, create a file and name the file extACUserGroups_en_US.xml. You use this file as a the custom user group configuration file for the user group that you are defining.
- Open the new file for editing.
-
Copy and paste the following code into your new extACUserGroups_en_US.xml
file.
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE UserGroups SYSTEM "../dtd/ACUserGroups.dtd"> <UserGroups LanguageID="en_US"> <UserGroup Name="ExtSearchTermAssociationManagersForOrg" OwnerID="RootOrganization" Description="Users who can manage search term associations for the organization"> <UserCondition><![CDATA[ <profile> <orListCondition> <simpleCondition> <variable name="role"/> <operator name="="/> <value data="Category Manager"/> <qualifier name="org" data="OrgAndAncestorOrgs"/> </simpleCondition> <simpleCondition> <variable name="role"/> <operator name="="/> <value data="Product Manager"/> <qualifier name="org" data="OrgAndAncestorOrgs"/> </simpleCondition> <simpleCondition> <variable name="role"/> <operator name="="/> <value data="Seller"/> <qualifier name="org" data="OrgAndAncestorOrgs"/> </simpleCondition> <simpleCondition> <variable name="role"/> <operator name="="/> <value data="Marketing Manager"/> <qualifier name="org" data="OrgAndAncestorOrgs"/> </simpleCondition> <simpleCondition> <variable name="role"/> <operator name="="/> <value data="Search Term Manager"/> <qualifier name="org" data="OrgAndAncestorOrgs"/> </simpleCondition> </orListCondition> </profile> ]]></UserCondition> </UserGroup> </UserGroups>
- Save and close the file.
- Stop your WebSphere Commerce Test Server.
-
In a command line utility, go to the
WCDE_installdir\bin directory. Run the following command to
load your new user group.
acugload extACUserGroups_en_US.xml