Welcome to mirror list, hosted at ThFree Co, Russian Federation.

constants.js « settings « projects « javascripts « assets « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: f5591c43dc4d137f74073642c3af62f6bdd01a5b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
export const LEVEL_TYPES = {
  ROLE: 'role',
  USER: 'user',
  DEPLOY_KEY: 'deploy_key',
  GROUP: 'group',
};

export const LEVEL_ID_PROP = {
  ROLE: 'access_level',
  USER: 'user_id',
  DEPLOY_KEY: 'deploy_key_id',
  GROUP: 'group_id',
};

export const ACCESS_LEVELS = {
  MERGE: 'merge_access_levels',
  PUSH: 'push_access_levels',
};

export const ACCESS_LEVEL_NONE = 0;