perf: 账号管理api

This commit is contained in:
feng626
2022-09-19 17:00:03 +08:00
parent 389094f615
commit 108ccf5a8b
7 changed files with 62 additions and 61 deletions

View File

@@ -35,14 +35,14 @@ exclude_permissions = (
('assets', 'assetgroup', '*', '*'),
('assets', 'cluster', '*', '*'),
('assets', 'favoriteasset', '*', '*'),
('assets', 'historicalauthbook', '*', '*'),
('assets', 'historicalaccount', '*', '*'),
('assets', 'assetuser', '*', '*'),
('assets', 'gathereduser', 'add,delete,change', 'gathereduser'),
('assets', 'accountbackupplanexecution', 'delete,change', 'accountbackupplanexecution'),
('assets', 'authbook', 'change', 'authbook'),
('assets', 'account', 'change', 'account'),
# TODO 暂时去掉历史账号的权限
('assets', 'authbook', '*', 'assethistoryaccount'),
('assets', 'authbook', '*', 'assethistoryaccountsecret'),
('assets', 'account', '*', 'assethistoryaccount'),
('assets', 'account', '*', 'assethistoryaccountsecret'),
('perms', 'userassetgrantedtreenoderelation', '*', '*'),
('perms', 'usergrantedmappingnode', '*', '*'),