config
config

Reputation: 105

Broadleaf Commerce User Administration Doc

i want to know about user permissions in broadleaf admin and how to create them ? I can't find any documentation about related user administration. Please guide me on this. Thanks in Advance.

Upvotes: 0

Views: 368

Answers (1)

Lucky
Lucky

Reputation: 17355

As of now many docs are not available in Broadleaf documentation site for the latest releases(version 3.0 being current). May be this is what you are looking for AdminUser.

There is an admin user class and an interface. The interface extends AdminSecurityContext interface. You can set and get the user roles with the following methods,

public Set<AdminRole> getAllRoles();
public void setAllRoles(Set<AdminRole> allRoles);

Edit:

http://javadocs.broadleafcommerce.com/core/6.0.0-SNAPSHOT/org/broadleafcommerce/openadmin/server/security/remote/AdminUser.html

Upvotes: 1

Related Questions