Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ResourceRoleMap ¶
type ResourceRoleMap struct { Id int `db:"id"` Resource string `db:"resource"` Role string `db:"role"` }
ResourceRoleMap is the table property
type Storage ¶
func (*Storage) GetObjListOwner ¶
GetObjListOwner fetches list of objects who has access to this resource
it purposely uses a list to prepare any future update from the table, e.g. updates on the table schema which leads to a multiple records as the result
Click to show internal directories.
Click to hide internal directories.