2019-07-31 22:56:46 +05:30
|
|
|
import { __ } from '~/locale';
|
|
|
|
|
2018-03-17 18:26:18 +05:30
|
|
|
export const visibilityOptions = {
|
|
|
|
PRIVATE: 0,
|
|
|
|
INTERNAL: 10,
|
|
|
|
PUBLIC: 20,
|
|
|
|
};
|
|
|
|
|
|
|
|
export const visibilityLevelDescriptions = {
|
2019-07-31 22:56:46 +05:30
|
|
|
[visibilityOptions.PRIVATE]: __(
|
2018-12-13 13:39:08 +05:30
|
|
|
'The project is accessible only by members of the project. Access must be granted explicitly to each user.',
|
2019-07-31 22:56:46 +05:30
|
|
|
),
|
|
|
|
[visibilityOptions.INTERNAL]: __('The project can be accessed by any user who is logged in.'),
|
|
|
|
[visibilityOptions.PUBLIC]: __(
|
2018-12-13 13:39:08 +05:30
|
|
|
'The project can be accessed by anyone, regardless of authentication.',
|
2019-07-31 22:56:46 +05:30
|
|
|
),
|
2018-03-17 18:26:18 +05:30
|
|
|
};
|