feriennet.policy
Attributes
Classes
Limits activity queries depending on the current user. |
Module Contents
- class feriennet.policy.ActivityQueryPolicy(username: str | None, role: str | None)[source]
Limits activity queries depending on the current user.
- granted_subset(query: Query[T]) Query[T] [source]
Limits the given activites query for the given user.