Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckAccessForTable ¶
Types ¶
type AccessManager ¶
type AccessManager struct { DefaultRoles map[string]*ObjWrapper[Role] RulesRoutes map[string]*ObjWrapper[Role] RulesTables map[string]*ObjWrapper[Role] }
func NewAccessManager ¶
func NewAccessManager() *AccessManager
func (AccessManager) CheckAccessForRoute ¶
func (m AccessManager) CheckAccessForRoute(userId string, page string) bool
Click to show internal directories.
Click to hide internal directories.