["http", "rootIdentities"]: an array of keypair ids
["http", "closedMode"]: a boolean flag to enable closed-mode
When closed mode is enabled:
every request is required to be signed
only a root identity is allowed to create ledgers
non-root identities are not allowed to claim other identities
In this implementation it is specified that requests from root identities will NOT be called with wrap-policy. However, server does not call wrap-policy on its own, so I've left that for future work.
https://github.com/fluree/core/issues/112
This adds closed-mode support to server.
There are now two new config keys:
closed-mode
When closed mode is enabled:
In this implementation it is specified that requests from root identities will NOT be called with
wrap-policy
. However,server
does not callwrap-policy
on its own, so I've left that for future work.