bcgov / silviculture-ipc

Forestry Sector Operator Screening for Infection Prevention and Control Protocols. Being replaced by: https://github.com/bcgov/common-forms-toolkit
https://github.com/bcgov/common-forms-toolkit
Apache License 2.0
1 stars 8 forks source link

Implement prop based role checking #73

Closed jujaga closed 4 years ago

jujaga commented 4 years ago

This PR changes BaseSecure to take in either the developer or inspector prop in order to check for authorization.