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

feat(config): submission not show to all only apply to non-admin users #420

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

LyricSeraph
Copy link

原项目中,管理后台的系统设置,如果把submission show to all设置为关闭,则即使管理员查看提交列表也只能看到自己的提交记录。

该PR在判断为非公开展示列表的情况下,同时检查当前用户是否为管理员,再进行过滤。

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

Successfully merging this pull request may close these issues.

1 participant