@cbnsndwch/ghl-app-contracts
Version:
Data contracts for GHL Marketplace apps
21 lines • 803 B
JavaScript
/**
* The roles of end-users the GHL platform supports. The combination of user
* role and permissions (where applicable) determine what the user can do.
*/
export var UserRole;
(function (UserRole) {
/**
* An admin user. Can access all features of accessible areas, as determined
* by the user type:
*
* - Agency admins: Can access all features in agency mode and in all locations.
* - Location admins: Can access all features in locations they're assigned to.
*/
UserRole["ADMIN"] = "admin";
/**
* An agency or location user. Features of accessible areas are limited to
* those tat are explicitly allowed by the user's permissions.
*/
UserRole["USER"] = "user";
})(UserRole || (UserRole = {}));
//# sourceMappingURL=user-role.enum.js.map