Access Policies for Practitioner Role
# support
a
Hey, I want to create different access policies for Practitioner Role. For eg:
Billing Staff
,
Nurse
, etc. 1. How do i do that? ( do i have to create a new access-policy with the said name in medplum admin console? 2. If above answer is a YES, can you please share syntax for the same? as this practitoner will be able to see a bunch of patients and monitor his/her activities. Also, I want to make a template for the above
Billing Staff
or
Nurse
as it will be attached to more than 1 users, and changing access to a particular thing would be from a single point. Thanks in Advance!
r
Hi @ahmedsakri , You can find our documentation on Access Policies here: https://www.medplum.com/docs/auth/access-control Based on your use case, it sounds like you will just need to set up 1 access policy for each role. Then when you invite a user (https://www.medplum.com/docs/sdk/classes/MedplumClient#invite), you can specify their their access policy as an option (https://www.medplum.com/docs/sdk/interfaces/InviteBody#accesspolicy)
155 Views