import * as i0 from '@angular/core';
import { Injectable } from '@angular/core';
import { AXMPermissionsKeys, RootConfig } from './acorex-modules-application-management.mjs';

//#endregion
//#region ----   Permission Definition Provider   ----
class AXMPermissionDefinitionProvider {
    //#region ----   Define Method   ----
    async define(context) {
        const keys = AXMPermissionsKeys.ApplicationManagement;
        context
            .addGroup(RootConfig.module.name, '@application-management:permissions.manage.title', '@application-management:permissions.manage.description')
            .addPermission(keys.Applications, '@application-management:applications.permissions.manage.title', '@application-management:applications.permissions.manage.description')
            .endPermission()
            //
            .addPermission(keys.ReleaseNotes, '@application-management:release-notes.permissions.manage.title', '@application-management:release-notes.permissions.manage.description')
            .endPermission()
            //
            .addPermission(keys.AppTerms, '@application-management:app-terms.permissions.manage.title', '@application-management:app-terms.permissions.manage.description')
            .endPermission()
            //
            .endGroup();
    }
    static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.19", ngImport: i0, type: AXMPermissionDefinitionProvider, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
    static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.19", ngImport: i0, type: AXMPermissionDefinitionProvider }); }
}
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.19", ngImport: i0, type: AXMPermissionDefinitionProvider, decorators: [{
            type: Injectable
        }] });

export { AXMPermissionDefinitionProvider };
//# sourceMappingURL=acorex-modules-application-management-permission-definition.provider-BcBziIZ_.mjs.map
