Skip to content

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

Open
LyricSeraph wants to merge 1 commit intoQingdaoU:masterfrom
LyricSeraph:feat/submission-config
Open

feat(config): submission not show to all only apply to non-admin users#420
LyricSeraph wants to merge 1 commit intoQingdaoU:masterfrom
LyricSeraph:feat/submission-config

Conversation

@LyricSeraph
Copy link
Copy Markdown

原项目中,管理后台的系统设置,如果把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