care.security.authorization.product module

class ProductAccess

Bases: AuthorizationHandler

can_list_facility_product(user, facility)

Check if the user has permission to view products in the facility

can_write_facility_product(user, facility)

Check if the user has permission to view products in the facility