Skip to content

Commit

Permalink
[INDY-1916] add NETWORK_MONITOR to list validRoles
Browse files Browse the repository at this point in the history
Signed-off-by: Andrew Nikitin <[email protected]>
  • Loading branch information
Andrew Nikitin committed Jan 14, 2019
1 parent fd58382 commit fbb0d47
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions indy_common/auth.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

from indy_common.constants import OWNER, POOL_UPGRADE, TRUST_ANCHOR, NYM, \
POOL_CONFIG, SCHEMA, CLAIM_DEF, \
POOL_RESTART, VALIDATOR_INFO
POOL_RESTART, VALIDATOR_INFO, NETWORK_MONITOR
from indy_common.roles import Roles

logger = getlogger()
Expand Down Expand Up @@ -71,7 +71,7 @@ def generate_auth_map(valid_roles, anyone_can_write=None):


class Authoriser:
ValidRoles = (TRUSTEE, STEWARD, TRUST_ANCHOR, None)
ValidRoles = (TRUSTEE, STEWARD, TRUST_ANCHOR, NETWORK_MONITOR, None)

auth_map = None

Expand Down

0 comments on commit fbb0d47

Please sign in to comment.