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

How to handle Account/AccessDenied?ReturnUrl=%2Ftasks%2Fcreate-task when a user doesn't have access to page #7207

Closed
vnetonline opened this issue Jan 14, 2021 · 4 comments · Fixed by #7215
Assignees
Milestone

Comments

@vnetonline
Copy link
Contributor

  • Your ABP Framework version - 4.0.2.
  • Your User Interface type (Angular/MVC/React... etc.) - MVC
  • Your database provider(EF Core/MongoDB) - EF Core
  • Steps needed to reproduce the problem.

When a user doesn't have permission to create, edit or delete pages the user is redirected to Account/AccessDenied?ReturnUrl=%2Ftasks%2Fcreate-task

How to handle this exception so the user doesn't get a 404 not found page?

image

@maliming maliming self-assigned this Jan 14, 2021
@maliming maliming added this to the 4.2-final milestone Jan 14, 2021
@vnetonline
Copy link
Contributor Author

@maliming

Can you explain is this is a bug or not implemented ?

@maliming
Copy link
Member

See #7215

@ivanagui2
Copy link

Hi @maliming. I have created a new solution with ABP Framework 4.2.2 and this problem still exists.

@maliming
Copy link
Member

@ivanagui2 Please create a new issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants