diff options
Diffstat (limited to 'opendc-web/opendc-web-ui/src/util/authorizations.js')
| -rw-r--r-- | opendc-web/opendc-web-ui/src/util/authorizations.js | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/opendc-web/opendc-web-ui/src/util/authorizations.js b/opendc-web/opendc-web-ui/src/util/authorizations.js index fffcefeb..6cb08ba8 100644 --- a/opendc-web/opendc-web-ui/src/util/authorizations.js +++ b/opendc-web/opendc-web-ui/src/util/authorizations.js @@ -8,8 +8,14 @@ export const AUTH_ICON_MAP = { VIEWER: EyeIcon, } +export const AUTH_NAME_MAP = { + OWNER: 'Owner', + EDITOR: 'Editor', + VIEWER: 'Viewer', +} + export const AUTH_DESCRIPTION_MAP = { - OWNER: 'Own', - EDITOR: 'Can Edit', - VIEWER: 'Can View', + OWNER: 'You own this project', + EDITOR: 'You can edit this project', + VIEWER: 'You can view this project', } |
