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
抽象 用户 - 角色 - 权限 的关系。
一、在 User 中添加 role 字段外联到 Role 实例,每个 Role 实例拥有多种权限,我们为每个接口设定一权限,在接口入口的中间件处根据调用者(User)判断是否拥有该权限。
二、在 User 中添加 role 字段外联到 Role 实例,在接口入口的中间件处设定该接口允许何种 Role 访问。
The text was updated successfully, but these errors were encountered:
No branches or pull requests
抽象 用户 - 角色 - 权限 的关系。
一、在 User 中添加 role 字段外联到 Role 实例,每个 Role 实例拥有多种权限,我们为每个接口设定一权限,在接口入口的中间件处根据调用者(User)判断是否拥有该权限。
二、在 User 中添加 role 字段外联到 Role 实例,在接口入口的中间件处设定该接口允许何种 Role 访问。
The text was updated successfully, but these errors were encountered: