All Downloads are FREE. Search and download functionalities are using the official Maven repository.

src.app.modules.global-variable.global-variable.routes.ts Maven / Gradle / Ivy

The newest version!
/*
 * SPDX-FileCopyrightText: 2017-2024 Enedis
 *
 * SPDX-License-Identifier: Apache-2.0
 *
 */

import { Routes } from '@angular/router';
import { GlobalVariableEditionComponent } from './components/global-variable-edition/global-variable-edition.component';

import { authGuard } from '@core/guards';
import { Authorization } from '@model';

export const GlobalVariableRoute: Routes = [
    {
        path: '',
        component: GlobalVariableEditionComponent,
        canActivate: [authGuard],
        data: { 'authorizations': [ Authorization.GLOBAL_VAR_READ,Authorization.GLOBAL_VAR_WRITE ] }
    }
];




© 2015 - 2024 Weber Informatics LLC | Privacy Policy