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

constants.js « permissions « shared « projects « pages « javascripts « assets « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: bc5c29d12b5fe0fe9523109cf15d3a5bfbdb2d35 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
export const visibilityOptions = {
  PRIVATE: 0,
  INTERNAL: 10,
  PUBLIC: 20,
};

export const visibilityLevelDescriptions = {
  [visibilityOptions.PRIVATE]:
    'The project is accessible only by members of the project. Access must be granted explicitly to each user.',
  [visibilityOptions.INTERNAL]: 'The project can be accessed by any user who is logged in.',
  [visibilityOptions.PUBLIC]:
    'The project can be accessed by anyone, regardless of authentication.',
};