Skip to content

Commit

Permalink
Island: Remove Agent role from propagation_credentials PUT
Browse files Browse the repository at this point in the history
  • Loading branch information
cakekoa authored and shreyamalviya committed Apr 7, 2023
1 parent 2ae796c commit f03680f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ def get(self, collection=None):
return propagation_credentials, HTTPStatus.OK

@auth_token_required
@roles_accepted(AccountRole.AGENT.name, AccountRole.ISLAND_INTERFACE.name)
@roles_accepted(AccountRole.ISLAND_INTERFACE.name)
def put(self, collection=None):
credentials = [Credentials(**c) for c in request.json]
if collection == _configured_collection:
Expand Down

0 comments on commit f03680f

Please sign in to comment.