summaryrefslogtreecommitdiff
path: root/system/item
diff options
context:
space:
mode:
authorSteve Manuel <nilslice@gmail.com>2016-12-30 13:47:55 -0800
committerSteve Manuel <nilslice@gmail.com>2016-12-30 13:47:55 -0800
commit9d366bea7c540edc767ebab9f6a0ace26c25e5fe (patch)
treeb3eddba8e14a95b0fe18c0319f4f366966647e25 /system/item
parentc4afd309b78b5392f427933b7cb423472c4fdbf0 (diff)
update Hide method in Hideable interface, change GMT label to UTC
Diffstat (limited to 'system/item')
-rw-r--r--system/item/types.go5
1 files changed, 5 insertions, 0 deletions
diff --git a/system/item/types.go b/system/item/types.go
index 33e9ced..b4b361b 100644
--- a/system/item/types.go
+++ b/system/item/types.go
@@ -14,6 +14,11 @@ Add this to the file which defines %[1]s{} in the 'content' package:
`
+
+ // AllowHiddenItem should be used as an error to tell a caller of Hideable#Hide
+ // that this type is hidden, but should be shown in a particular case, i.e.
+ // if requested by a valid admin or user
+ AllowHiddenItem = `Allow hidden item`
)
// Types is a map used to reference a type name to its actual Editable type