Skip to content

Commit

Permalink
权限名修改
Browse files Browse the repository at this point in the history
  • Loading branch information
weideguo committed Feb 9, 2022
1 parent de67a2c commit c8f5a31
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion sql/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -730,7 +730,7 @@ class Meta:
('archive_review', '审核归档申请'),
('archive_mgt', '管理归档申请'),
('audit_user','审计权限'),
('download', '在线查询下载权限'),
('query_download', '在线查询下载权限'),
)


Expand Down
2 changes: 1 addition & 1 deletion src/init_sql/v1.8.3.sql
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,4 @@ insert IGNORE INTO auth_permission (name, content_type_id, codename) VALUES
-- 在线查询下载权限
set @content_type_id=(select id from django_content_type where app_label='sql' and model='permission');
insert IGNORE INTO auth_permission (name, content_type_id, codename) VALUES
('在线查询下载权限', @content_type_id, 'download');
('在线查询下载权限', @content_type_id, 'query_download');

0 comments on commit c8f5a31

Please sign in to comment.