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

我是管理员,我把自己删了~咋整 #43

Closed
wengpengfeijava opened this issue Nov 16, 2017 · 7 comments
Closed

我是管理员,我把自己删了~咋整 #43

wengpengfeijava opened this issue Nov 16, 2017 · 7 comments

Comments

@wengpengfeijava
Copy link

wengpengfeijava commented Nov 16, 2017

如题,权限处理的不是很得当啊~

@hellosean1025
Copy link
Member

hellosean1025 commented Nov 16, 2017

改数据库吧,这方面确实考虑不周
注册一个普通账号,在数据库把 role 改为 admin

@wengpengfeijava
Copy link
Author

啊!!那你们这个我能二次开发使用吗,有些功能还是要调优下!例如角色权限控制。还是说最近的新版本会做bug修复?

@hellosean1025
Copy link
Member

你自己可以简单二次开发下,没问题pull request

有问题我们这边也会修复

@wengpengfeijava
Copy link
Author

嗯啊~功能很赞,操作人性化

@hellosean1025
Copy link
Member

http://yapi.demo.qunar.com 刚更新的 1.2.6 版本修复了删除管理员问题

@wengpengfeijava
Copy link
Author

好的谢谢

@wengpengfeijava
Copy link
Author

没权限的操作希望能做到不显示。

shouldnotappearcalm pushed a commit to shouldnotappearcalm/yapi that referenced this issue Oct 18, 2019
docs: 📝 更新 readme 和版本号.
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

2 participants