Documentation ¶
Overview ¶
Package user contains the list of administrative user for the system. All users have accesses, into a profile and even extended access based upon table records. It needs context xmodule.
Index ¶
- func AddGroup(ds applications.Datasource, key string, name string) error
- func AddOption(ds applications.Datasource, data *xdominion.XRecord) error
- func GetGroup(ds applications.Datasource, key string) (*xdominion.XRecord, error)
- func GetMenu(ds applications.Datasource, group string, father string) (*xdominion.XRecords, error)
- func GetOption(ds applications.Datasource, key string) (*xdominion.XRecord, error)
- func Setup(ds applications.Datasource, prefix string) ([]string, error)
- func StartContext(ds applications.Datasource, ctx *context.Context) error
- func Synchronize(ds applications.Datasource, prefix string) ([]string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddGroup ¶
func AddGroup(ds applications.Datasource, key string, name string) error
func AddOption ¶
func AddOption(ds applications.Datasource, data *xdominion.XRecord) error
func GetGroup ¶
func GetGroup(ds applications.Datasource, key string) (*xdominion.XRecord, error)
func GetMenu ¶
func GetMenu(ds applications.Datasource, group string, father string) (*xdominion.XRecords, error)
func GetOption ¶
func GetOption(ds applications.Datasource, key string) (*xdominion.XRecord, error)
func Setup ¶
func Setup(ds applications.Datasource, prefix string) ([]string, error)
InitModule is called during the init phase to link the module with the system adds tables and caches to sitecontext::database
func StartContext ¶
func StartContext(ds applications.Datasource, ctx *context.Context) error
func Synchronize ¶
func Synchronize(ds applications.Datasource, prefix string) ([]string, error)
Types ¶
This section is empty.
Source Files ¶
Click to show internal directories.
Click to hide internal directories.