add rbac
This commit is contained in:
6
providers/rbac/rbac.go
Normal file
6
providers/rbac/rbac.go
Normal file
@@ -0,0 +1,6 @@
|
||||
package rbac
|
||||
|
||||
type IRbac interface {
|
||||
Can(role, method, path string) bool
|
||||
Reload() error
|
||||
}
|
||||
Reference in New Issue
Block a user