Skip to content

refactor: move freshCasbin route to private and remove unused param #2056

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

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

huiyifyj
Copy link
Contributor

  • Move freshCasbin route from public to private router group.
  • Fix incorrect comment for resetPassword route.
  • Remove unused PublicGroup parameter from InitSysParamsRouter and InitApiRouter method signatures

huiyifyj added 2 commits July 12, 2025 10:35
- Fix incorrect comment for resetPassword route.
- Move `freshCasbin` route from public to private router group.
- Remove unnecessary `PublicGroup` parameter from InitApiRouter method.
Remove unused `PublicGroup` parameter from `InitSysParamsRouter` and `InitApiRouter` method signatures
and update the router initialization call to match the new method signatures.
@pixelmaxQm
Copy link
Collaborator

freshCasbin 这个必须是开放的 主要是让脚本等可以直接刷新当前配置的权限

@huiyifyj
Copy link
Contributor Author

这个 API 是没有本地或是指定内网 IP 限制,也没有限次,被频繁刷的话还是有影响

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.

2 participants