Documentation
¶
Index ¶
- Constants
- func Init(conf rbacconf.Config, policyPath string) (*casbin.SyncedCachedEnforcer, error)
- func New(rbacStoragePath string, rbac rbacconf.Config, logger logrus.FieldLogger) (*manager, error)
- func WeaviateMatcher(key1 string, key2 string) bool
- func WeaviateMatcherFunc(args ...interface{}) (interface{}, error)
Constants ¶
View Source
const ( // MODEL is the used model for casbin to store roles, permissions, users and comparisons patterns // docs: https://casbin.org/docs/syntax-for-models MODEL = `` /* 265-byte string literal not displayed */ )
Variables ¶
This section is empty.
Functions ¶
func WeaviateMatcher ¶ added in v1.28.6
func WeaviateMatcherFunc ¶ added in v1.28.6
func WeaviateMatcherFunc(args ...interface{}) (interface{}, error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.