summaryrefslogtreecommitdiff
path: root/app/assets/javascripts/groups/constants.js
blob: c4c5eab011ed222bb98960cbf60f0f9367fe6371 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
export const MAX_PROJECT_COUNT = 10;

export const GROUP_VISIBILITY_TYPE = {
  public: 'Public - The group and any public projects can be viewed without any authentication.',
  internal: 'Internal - The group and any internal projects can be viewed by any logged in user.',
  private: 'Private - The group and its projects can only be viewed by members.',
};

export const PROJECT_VISIBILITY_TYPE = {
  public: 'Public - The project can be accessed without any authentication.',
  internal: 'Internal - The project can be accessed by any logged in user.',
  private: 'Private - Project access must be granted explicitly to each user.',
};

export const VISIBILITY_TYPE_ICON = {
  public: 'fa-globe',
  internal: 'fa-shield',
  private: 'fa-lock',
};