We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
做RBAC的时候可能导致两条不同的url指向同一个控制器的action, 出现权限纰漏, 实际上并不需要默认路由的情况. 谢谢!
The text was updated successfully, but these errors were encountered:
你可以在自定义的路由器里,把所有你不想要的情况,路由到一个默认的页面,比如404. 最后返回true就行了。 自定义路由器返回true,就会阻止近一步调用默认路由器。
Sorry, something went wrong.
No branches or pull requests
做RBAC的时候可能导致两条不同的url指向同一个控制器的action, 出现权限纰漏, 实际上并不需要默认路由的情况.
谢谢!
The text was updated successfully, but these errors were encountered: