Skip to content
Snippets Groups Projects
Commit b6d5582a authored by Marek Veselý's avatar Marek Veselý Committed by Martin Juhás
Browse files

feat: allow TeamQuestionnaireStateSubscription for trainees

Closes #226
parent b622ef29
No related branches found
No related tags found
No related merge requests found
......@@ -186,7 +186,7 @@ class TeamQuestionnaireStateSubscription(channels_graphql_ws.Subscription):
team_id = graphene.ID(required=True)
@staticmethod
@protected(Perms.view_analytics.full_name)
@protected(Perms.view_trainee_info.full_name)
@extra_protected(Check.TEAM_ID)
def subscribe(root, info, team_id: str):
get_model(Team, id=int(team_id))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment