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

cannot update role permission for the same session #3412

Closed
HarrisChu opened this issue Dec 6, 2021 · 0 comments
Closed

cannot update role permission for the same session #3412

HarrisChu opened this issue Dec 6, 2021 · 0 comments
Labels
type/enhancement Type: make the code neat or more efficient

Comments

@HarrisChu
Copy link
Contributor

Currently, we verify the role permission in graphd.

steps:

  1. create a user A with admin role.
  2. login with the user A, and do not release the session.
  3. login with root in another session.
  4. change role from admin to user.

expected:

  1. the original session cannot create schema.

actual:

  1. still could create schema, as we use roles when the user login.
@HarrisChu HarrisChu added type/enhancement Type: make the code neat or more efficient need to discuss Solution: issue or PR without a clear conclusion on whether to handle it labels Dec 6, 2021
@Sophie-Xie Sophie-Xie removed the need to discuss Solution: issue or PR without a clear conclusion on whether to handle it label Jan 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/enhancement Type: make the code neat or more efficient
Projects
None yet
Development

No branches or pull requests

2 participants