care.security.authorization.resource_category module¶
- class ResourceCategoryAccess¶
Bases:
AuthorizationHandler- can_list_facility_resource_category(user, facility)¶
Check if the user has permission to view resource categories in the facility
- can_write_facility_resource_category(user, facility)¶
Check if the user has permission to view resource categories in the facility