rbac

package
v0.0.0-...-b262f20 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 21, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HasImplicitPermissionsForUser

func HasImplicitPermissionsForUser(user, resource, permission string) bool

隐式判断一个用户是否有某个资源的操作权限

func New

func New() *casbin.SyncedEnforcer

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL