Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

使用组没有呢 #310

Open
xmlgrg opened this issue Apr 9, 2021 · 4 comments
Open

使用组没有呢 #310

xmlgrg opened this issue Apr 9, 2021 · 4 comments

Comments

@xmlgrg
Copy link

xmlgrg commented Apr 9, 2021

您好,作者,这个资产的用户组在哪边创建呢,看了看,发现没有地方操作呢

image

@welliamcao
Copy link
Owner

用户管理页面添加用户组

@xmlgrg
Copy link
Author

xmlgrg commented Apr 22, 2021

代码有个地方有问题,修改后就可以了:

vi /data/docker-vol/opsmanage/assets.py

def groupList(self):
dicts = []
for ds in Structure.objects.filter(level__gte=0): # 修改这行
if ds.last_node() > 0:dicts.append(ds.to_json())
return dicts

@yssky
Copy link

yssky commented Apr 3, 2023

用户管理页面添加用户组

用户管理没有看到添加用户组,麻烦指导一下

@yssky
Copy link

yssky commented Apr 3, 2023

用户管理页面添加用户组

用户管理没有看到添加用户组,麻烦指导一下

找到了,已解决

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants