forked from TrueCloudLab/frostfs-node
[#770] node: Introduce ape chain source
* Provide methods to access rule chains with access policy engine (APE) chain source * Initialize apeChainSource within object service initialization * Share apeChainSource with control service * Implement dummy apeChainSource instance based on in-memory implementation Signed-off-by: Airat Arifullin <a.arifullin@yadro.com>
This commit is contained in:
parent
3a2c319b87
commit
5ec73fe8a0
8 changed files with 57 additions and 0 deletions
|
@ -51,6 +51,7 @@ func initControlService(c *cfg) {
|
|||
controlSvc.WithTreeService(treeSynchronizer{
|
||||
c.treeService,
|
||||
}),
|
||||
controlSvc.WithAPEChainSource(c.cfgObject.apeChainSource),
|
||||
)
|
||||
|
||||
lis, err := net.Listen("tcp", endpoint)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue