summaryrefslogtreecommitdiff
path: root/opendc-web/opendc-web-ui/src/util/authorizations.js
diff options
context:
space:
mode:
Diffstat (limited to 'opendc-web/opendc-web-ui/src/util/authorizations.js')
-rw-r--r--opendc-web/opendc-web-ui/src/util/authorizations.js11
1 files changed, 11 insertions, 0 deletions
diff --git a/opendc-web/opendc-web-ui/src/util/authorizations.js b/opendc-web/opendc-web-ui/src/util/authorizations.js
new file mode 100644
index 00000000..4086b35d
--- /dev/null
+++ b/opendc-web/opendc-web-ui/src/util/authorizations.js
@@ -0,0 +1,11 @@
+export const AUTH_ICON_MAP = {
+ OWN: 'home',
+ EDIT: 'pencil',
+ VIEW: 'eye',
+}
+
+export const AUTH_DESCRIPTION_MAP = {
+ OWN: 'Own',
+ EDIT: 'Can Edit',
+ VIEW: 'Can View',
+}