ETASCOM CRM V3 - Documentation API
    Preparing search index...

    Interface PermissionCheck

    interface PermissionCheck {
        canDeleteUser: (targetUser: TargetUser) => boolean;
        canEditUser: (targetUser: TargetUser) => boolean;
        canManageRoles: () => boolean;
        isSuperAdmin: boolean;
        isAdmin: boolean;
        currentUserRole: string | null;
        roleSlug: string | null;
    }
    Index

    Properties

    canDeleteUser: (targetUser: TargetUser) => boolean
    canEditUser: (targetUser: TargetUser) => boolean
    canManageRoles: () => boolean
    isSuperAdmin: boolean
    isAdmin: boolean
    currentUserRole: string | null
    roleSlug: string | null