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

Show roles logical error, the not attached user could show all roles of space #2777

Closed
Shylock-Hg opened this issue Sep 1, 2021 · 1 comment · Fixed by #2778
Closed

Show roles logical error, the not attached user could show all roles of space #2777

Shylock-Hg opened this issue Sep 1, 2021 · 1 comment · Fixed by #2778
Assignees
Labels
type/bug Type: something is unexpected
Milestone

Comments

@Shylock-Hg
Copy link
Contributor

Please check the FAQ documentation before raising an issue

Please check the FAQ documentation and old issues before raising an issue in case someone has asked the same question that you are asking.

Describe the bug (must be provided)

➜  nebula-console git:(master) ./nebula-console -u test -p test --address 127.0.0.1 --port 9669
2021/09/01 16:37:27 [INFO] connection pool is initialized successfully

Welcome to Nebula Graph!

(test@nebula) [(none)]> show roles in nba
+---------+-----------+
| Account | Role Type |
+---------+-----------+
| "admin" | "ADMIN"   |
+---------+-----------+
Got 1 rows (time spent 2198/2763 us)

Wed, 01 Sep 2021 16:37:33 CST

(test@nebula) [(none)]>

The test user has no role in space nba, but could show roles of nba.

Your Environments (must be provided)

  • OS: uname -a
  • Compliler: g++ --version or clang++ --version
  • CPU: lscpu
  • Commit id (e.g. a3ffc7d8)

How To Reproduce(must be provided)

Steps to reproduce the behavior:

  1. Step 1
  2. Step 2
  3. Step 3

Expected behavior

A clear and concise description of what you expected to happen.

Additional context

Provide logs and configs, or any other context to trace the problem.

@Shylock-Hg Shylock-Hg added the type/bug Type: something is unexpected label Sep 1, 2021
@Shylock-Hg Shylock-Hg self-assigned this Sep 1, 2021
@Shylock-Hg Shylock-Hg changed the title Show roles logical error Show roles logical error, the not attached user could show all roles of space Sep 1, 2021
@Shylock-Hg
Copy link
Contributor Author

It's produced when don't enable permission check.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/bug Type: something is unexpected
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants