mirror of
https://github.com/datarhei/core.git
synced 2025-10-06 08:27:08 +08:00
Dump casbin, replace with own policy enforcer
This commit is contained in:
@@ -13,8 +13,8 @@ import (
|
||||
"github.com/datarhei/core/v16/config"
|
||||
"github.com/datarhei/core/v16/encoding/json"
|
||||
"github.com/datarhei/core/v16/ffmpeg/skills"
|
||||
iamaccess "github.com/datarhei/core/v16/iam/access"
|
||||
iamidentity "github.com/datarhei/core/v16/iam/identity"
|
||||
iampolicy "github.com/datarhei/core/v16/iam/policy"
|
||||
"github.com/datarhei/core/v16/restream/app"
|
||||
)
|
||||
|
||||
@@ -57,7 +57,7 @@ type UpdateIdentityRequest struct {
|
||||
}
|
||||
|
||||
type SetPoliciesRequest struct {
|
||||
Policies []iamaccess.Policy `json:"policies"`
|
||||
Policies []iampolicy.Policy `json:"policies"`
|
||||
}
|
||||
|
||||
type LockRequest struct {
|
||||
|
Reference in New Issue
Block a user