diff --git a/doc/RBAC 权限.sql b/doc/RBAC 权限.sql index dd49453..900f0e0 100644 --- a/doc/RBAC 权限.sql +++ b/doc/RBAC 权限.sql @@ -105,5 +105,9 @@ VALUES ('产品管理(供应商)', 'route=/products/edit', 'page') INSERT INTO [dbo].[auth_resource] ([res_name] ,[res_pattern], [res_category]) VALUES ('采购年份', 'route=/products/pick-year', 'page') +-- 公告管理 +INSERT INTO [dbo].[auth_resource] ([res_name] ,[res_pattern], [res_category]) +VALUES ('公告管理', '/notifs/management', 'system') + INSERT INTO [dbo].[auth_permission] ([role_id] ,[res_id]) VALUES (1, 1)