gitlab-org--gitlab-foss/app/assets/javascripts/projects/settings/constants.js

21 lines
374 B
JavaScript
Raw Normal View History

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;