summaryrefslogtreecommitdiff
path: root/spec/frontend/admin/users/constants.js
blob: 60abdc6c2489d598fbc01669e616e456c1ae4049 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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';

export const EDIT = 'edit';

export const LDAP = 'ldapBlocked';

export const LINK_ACTIONS = [APPROVE, REJECT];

export const CONFIRMATION_ACTIONS = [ACTIVATE, BLOCK, DEACTIVATE, UNLOCK, UNBLOCK];

export const DELETE_ACTIONS = [DELETE, DELETE_WITH_CONTRIBUTIONS];