Skip to content

User can still access a route even when he/she has no proper Permission #3

@bhaidar

Description

@bhaidar

Hi,

While going through the code, I noticed that the code written in the routeChangeStart is not enough to protect the routes.

For instance, if a user is not logged in, the authorization service returns "loginRequired". Then, after that, if the user login successfully, he/she is being redirected to the page requested. However, a second check is required to make sure the user has the proper permission.

Do you see this?

Best regards
Bilal Haidar

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions