hunk.code_window: import _ from 'lodash-es';
   import angular from 'angular';
   import PortainerError from 'Portainer/error';
   import KubernetesApplicationHelper from 'Kubernetes/helpers/application';
   import KubernetesApplicationConverter from 'Kubernetes/converters/application';
   import { KubernetesStatefulSet } from 'Kubernetes/models/stateful-set/models';
   import KubernetesServiceHelper from 'Kubernetes/helpers/serviceHelper';
  
hunk.labels: keep keep keep add keep keep keep keep
hunk.after_edit: import { KubernetesApplicationDeploymentTypes, KubernetesApplicationTypes } from 'Kubernetes/models/application/models/appConstants';
  
hunk.file_path: app/kubernetes/services/applicationService.js
hunk.type: add
file: import { RoleViewModel, RoleTypes } from '../models/role';
  
  export function RoleService() {
    const rolesData = [
      new RoleViewModel(RoleTypes.ENDPOINT_ADMIN, 'Environment administrator', 'Full control of all resources in an environment', []),
      new RoleViewModel(RoleTypes.OPERATOR, 'Operator', 'Operational Control of all existing resources in an environment', []),
      new RoleViewModel(RoleTypes.HELPDESK, 'Helpdesk', 'Read-only access of all resources in an environment', []),
      new RoleViewModel(RoleTypes.READ_ONLY, 'Read-only user', 'Read-only access of assigned resources in an environment', []),
      new RoleViewModel(RoleTypes.STANDARD, 'Standard user', 'Full control of assigned resources in an environment', []),
    ];
  
    return {
      roles,
    };
  
    function roles() {
      return rolesData;
    }
  }
  