src.app.core.model.user.model.ts Maven / Gradle / Ivy
export class User {
constructor(
public id: string,
public name?: string,
public firstname?: string,
public lastname?: string,
public mail?: string,
public authorizations?: Array,
) { }
}
export enum Authorization {
SCENARIO_READ = 'SCENARIO_READ',
SCENARIO_WRITE = 'SCENARIO_WRITE',
SCENARIO_EXECUTE = 'SCENARIO_EXECUTE',
CAMPAIGN_READ = 'CAMPAIGN_READ',
CAMPAIGN_WRITE = 'CAMPAIGN_WRITE',
CAMPAIGN_EXECUTE = 'CAMPAIGN_EXECUTE',
ENVIRONMENT_ACCESS = 'ENVIRONMENT_ACCESS',
GLOBAL_VAR_READ = 'GLOBAL_VAR_READ',
GLOBAL_VAR_WRITE = 'GLOBAL_VAR_WRITE',
DATASET_READ = 'DATASET_READ',
DATASET_WRITE = 'DATASET_WRITE',
COMPONENT_READ = 'COMPONENT_READ',
COMPONENT_WRITE = 'COMPONENT_WRITE',
ADMIN_ACCESS = 'ADMIN_ACCESS'
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy