import { AXPSessionService } from '@acorex/platform/auth';
import { inject } from '@angular/core';
import { firstValueFrom } from 'rxjs';

class AXMSecurityManagementModuleMenuProvider {
    constructor() {
        this.sessionService = inject(AXPSessionService);
    }
    async provide(context) {
        const isAuthorized = await firstValueFrom(this.sessionService.isAuthorized$);
        if (!isAuthorized) {
            return;
        }
        // user:profile menu removed - profile actions are in header popover
    }
}

export { AXMSecurityManagementModuleMenuProvider };
//# sourceMappingURL=acorex-modules-auth-menu.provider-CBNyM4Ax.mjs.map
