Skip to content
Snippets Groups Projects
Commit 297cf64f authored by Martin Juhás's avatar Martin Juhás
Browse files

Merge branch '226-allow-teamquestionnairestatesubscription-for-trainees' into 'main'

feat: allow TeamQuestionnaireStateSubscription for trainees

Closes #226

See merge request inject/backend!223
parents b622ef29 b6d5582a
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