MED-203: fix doctor feedback form
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
grant execute on function medreport.update_analysis_order_status (
|
||||
bigint,
|
||||
text,
|
||||
medreport.analysis_order_status
|
||||
) to authenticated, service_role;
|
||||
|
||||
create policy "doctor_update_analysis_order"
|
||||
on "medreport"."analysis_orders"
|
||||
as PERMISSIVE
|
||||
for UPDATE
|
||||
to authenticated
|
||||
using (medreport.is_doctor());
|
||||
Reference in New Issue
Block a user