Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
zavarin-michael committed Jun 21, 2024
1 parent a6c6b15 commit ec6a8e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion open_schools_platform/ticket_management/tickets/rules.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ def ticket_sender_access(user: User, ticket: Query):
@rules.predicate
@predicate_input_type_check
def ticket_recipient_access(user: User, ticket: Query):
return user.has_perm("orgniazations.organization_access", ticket.recipient)
return user.has_perm("organizations.organization_access", ticket.recipient)


@rules.predicate
Expand Down

0 comments on commit ec6a8e8

Please sign in to comment.