UI: Handle policies listed in mc as 'none' by not showing them (#6353)

This commit is contained in:
Kaan Kabalak
2018-08-30 16:20:27 -06:00
committed by kannappanr
parent 72fa2b4537
commit 5e7ccc983d
4 changed files with 61 additions and 63 deletions

View File

@@ -23,6 +23,7 @@ export const minioBrowserPrefix = p.slice(0, p.indexOf("/", 1))
export const READ_ONLY = "readonly"
export const WRITE_ONLY = "writeonly"
export const READ_WRITE = "readwrite"
export const NONE = "none"
export const SHARE_OBJECT_EXPIRY_DAYS = 5
export const SHARE_OBJECT_EXPIRY_HOURS = 0