2020-08-12 20:10:06 -04:00
|
|
|
export const LEVEL_TYPES = {
|
|
|
|
ROLE: 'role',
|
|
|
|
USER: 'user',
|
2020-09-22 05:09:43 -04:00
|
|
|
DEPLOY_KEY: 'deploy_key',
|
2020-08-12 20:10:06 -04:00
|
|
|
GROUP: 'group',
|
|
|
|
};
|
|
|
|
|
|
|
|
export const LEVEL_ID_PROP = {
|
|
|
|
ROLE: 'access_level',
|
|
|
|
USER: 'user_id',
|
2020-09-22 05:09:43 -04:00
|
|
|
DEPLOY_KEY: 'deploy_key_id',
|
2020-08-12 20:10:06 -04:00
|
|
|
GROUP: 'group_id',
|
|
|
|
};
|
|
|
|
|
2020-09-22 05:09:43 -04:00
|
|
|
export const ACCESS_LEVELS = {
|
|
|
|
MERGE: 'merge_access_levels',
|
|
|
|
PUSH: 'push_access_levels',
|
|
|
|
};
|
|
|
|
|
2020-08-12 20:10:06 -04:00
|
|
|
export const ACCESS_LEVEL_NONE = 0;
|