Skip to content

cannot update role permission for the same session #3412

Closed
@HarrisChu

Description

@HarrisChu

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    type/enhancementType: make the code neat or more efficient

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions