WCS users can access storefronts by virtue
of having the role of Registered Customer in
the organization that owns the store, or in any organization above
it. The roles a user has access to during registration are defined
within the MemberRegistrationAttributes.xml file.
By default the MemberRegistrationAttributes.xml file is set up to give access to only the store where the user is registering.
By Adding the below snippet in the top of the file MemberRegistrationAttributes.xml under <UserRoles> section, we can allow the registered user of any of the esite of the extended site setup to access all stores as a registered user-
<User registrationType="UserRegistration" memberAncestor="o=Default Organization,o=Root Organization"
storeAncestor="o=Extended Sites Seller Organization,o=Root Organization">
<Role name="Registered Customer" roleContext="explicit" DN="o=Extended Sites Seller Organization,o=Root Organization"/>
</User>
By default the MemberRegistrationAttributes.xml file is set up to give access to only the store where the user is registering.
By Adding the below snippet in the top of the file MemberRegistrationAttributes.xml under <UserRoles> section, we can allow the registered user of any of the esite of the extended site setup to access all stores as a registered user-
<User registrationType="UserRegistration" memberAncestor="o=Default Organization,o=Root Organization"
storeAncestor="o=Extended Sites Seller Organization,o=Root Organization">
<Role name="Registered Customer" roleContext="explicit" DN="o=Extended Sites Seller Organization,o=Root Organization"/>
</User>
No comments:
Post a Comment