Skip to content

Commit

Permalink
Change role required for client/add to "client"
Browse files Browse the repository at this point in the history
  • Loading branch information
benjaminastrand committed Jan 24, 2025
1 parent 1e538f7 commit f23cdcf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fedn/network/api/v1/client_routes.py
Original file line number Diff line number Diff line change
Expand Up @@ -404,7 +404,7 @@ def delete_client(id: str):


@bp.route("/add", methods=["POST"])
@jwt_auth_required(role="admin")
@jwt_auth_required(role="client")
def add_client():
"""Add client
Adds a client to the network.
Expand Down

0 comments on commit f23cdcf

Please sign in to comment.