Browse Source

添加问题修改权限

master
dengyinhuan 2 years ago
parent
commit
faeaec7576
  1. 9
      script/1.0.3/schema/11.update_resource.sql

9
script/1.0.3/schema/11.update_resource.sql

@ -0,0 +1,9 @@
INSERT INTO public.resource (code, name, parent_resource) VALUES ('SHENHE', '审核', 'WENTICHULI');
INSERT INTO public.resource (code, name, parent_resource) VALUES ('ZHIDINGJIHUA', '制定计划', 'WENTICHULI');
INSERT INTO public.resource (code, name, parent_resource) VALUES ('CHAKANXIANGQING', '查看详情', 'WENTICHULI');
DELETE FROM public.user_resource WHERE id = 16;
DELETE FROM public.user_resource WHERE id = 17;
DELETE FROM public.user_resource WHERE id = 18;
INSERT INTO public.user_resource (id,user_id,resource) VALUES (16, 1, 'SHENHE');
INSERT INTO public.user_resource (id,user_id,resource) VALUES (17, 1, 'ZHIDINGJIHUA');
INSERT INTO public.user_resource (id,user_id,resource) VALUES (18, 1, 'CHAKANXIANGQING');
Loading…
Cancel
Save