care.security.authorization.supply_request module¶
- class SupplyRequestAccess¶
Bases:
AuthorizationHandler
- can_list_facility_supply_request(user, location)¶
Check if the user has permission to view supply requests in the location
- can_list_all_facility_supply_request(user, facility)¶
Check if the user has permission to view all supply requests in the facility
- can_write_facility_supply_request(user, location)¶
Check if the user has permission to view supply requests in the location