add acl
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
package node
|
||||
|
||||
import (
|
||||
"mediarr/acl"
|
||||
"mediarr/auth"
|
||||
"mediarr/cluster"
|
||||
"mediarr/database"
|
||||
@@ -59,3 +60,7 @@ func (n *Node) Identity() *identity.Service {
|
||||
func (n *Node) Auth() *auth.Service {
|
||||
return auth.NewService(n.db)
|
||||
}
|
||||
|
||||
func (n *Node) ACL() *acl.Service {
|
||||
return acl.NewService(n.db)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user