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

constants.js « users « admin « frontend « spec - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 39e8e51f43ca0bb9b196d3346e06c185dc1f6458 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
const BLOCK = 'block';
const UNBLOCK = 'unblock';
const DELETE = 'delete';
const DELETE_WITH_CONTRIBUTIONS = 'deleteWithContributions';
const UNLOCK = 'unlock';
const ACTIVATE = 'activate';
const DEACTIVATE = 'deactivate';
const REJECT = 'reject';
const APPROVE = 'approve';
const BAN = 'ban';
const UNBAN = 'unban';
const TRUST = 'trust';
const UNTRUST = 'untrust';

export const EDIT = 'edit';

export const LDAP = 'ldapBlocked';

export const CONFIRMATION_ACTIONS = [
  ACTIVATE,
  BLOCK,
  DEACTIVATE,
  UNLOCK,
  UNBLOCK,
  BAN,
  UNBAN,
  APPROVE,
  REJECT,
  TRUST,
  UNTRUST,
];

export const DELETE_ACTIONS = [DELETE, DELETE_WITH_CONTRIBUTIONS];