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

fix: User is redirected to the Pending permission page whenn he is not granted with required permission type #584

Open
VeronikaHordus opened this issue Sep 28, 2024 · 0 comments

Comments

@VeronikaHordus
Copy link
Collaborator

Describe your issue

When user without root permissions and Manage Project permission attempts to access Access Management, Contributors or Project's Manage Access page using URL he is redirected to the Pending Access page.

Steps to reproduce

Pre-conditions: User A - with Access Managment and Manage All Projects root permission exist and logged in.
Login into the User B account - user with View specific Projects permission granted.

  1. Open the Access Managment page from the User A account
  2. Copy the link
  3. Paste into the url line for user B.
  4. Observe the application's behaviour

What was the actual result?

User is redirected to the Pending Access (no access) page.

What was the expected result?

User is redirected to the 404 Not Found Page and the Toast notification "You do not have access to the resourse" displayed.

Put here any screenshots or videos (optional)

Demo.day.-.User.is.redirected.to.No.access.Pendin.access.page.when.he.does.not.own.the.required.permission.mp4

What OS are you seeing the problem on?

Windows

What browsers are you seeing the problem on?

Chrome

Severity

Major (S3)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: To Do
Development

No branches or pull requests

1 participant