Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Acl ¶
type Acl struct { Owner string `bson:"owner" json:"owner"` Read []string `bson:"read" json:"read"` Write []string `bson:"write" json:"write"` Delete []string `bson:"delete" json:"delete"` }
Node.Acl struct
func (*Acl) FormatDisplayAcl ¶ added in v0.9.5
type DisplayAcl ¶ added in v0.9.5
type DisplayAcl struct { Owner string `bson:"owner" json:"owner"` Read []string `bson:"read" json:"read"` Write []string `bson:"write" json:"write"` Delete []string `bson:"delete" json:"delete"` Public publicAcl `bson:"public" json:"public"` }
ACL struct that is returned to user for verbosity = minimal (default)
type DisplayVerboseAcl ¶ added in v0.9.5
type DisplayVerboseAcl struct { Owner user.User `bson:"owner" json:"owner"` Read []user.User `bson:"read" json:"read"` Write []user.User `bson:"write" json:"write"` Delete []user.User `bson:"delete" json:"delete"` Public publicAcl `bson:"public" json:"public"` }
ACL struct that is returned to user for verbosity = full
Click to show internal directories.
Click to hide internal directories.