@cbnsndwch/ghl-app-contracts
Version:
Data contracts for GHL Marketplace apps
24 lines • 919 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.UserRole = void 0;
/**
* The roles of end-users the GHL platform supports. The combination of user
* role and permissions (where applicable) determine what the user can do.
*/
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 || (exports.UserRole = UserRole = {}));
//# sourceMappingURL=user-role.enum.js.map