Skip to content
This repository was archived by the owner on Mar 20, 2025. It is now read-only.
This repository was archived by the owner on Mar 20, 2025. It is now read-only.

Restrict users to organisations explicitly granted only #141

@vlaurin

Description

@vlaurin

Currently, trying to retrieve an organisation which is not explicitly granted to the authenticated user returns a default organisation profile with INDIVIDUAL access and PUBLIC classification.

https://github.com/quickcase/spring-oidc/blob/main/api/src/main/java/app/quickcase/spring/oidc/authentication/QuickcaseUserAuthentication.java#L53-L60

Instead, a security exception should be thrown to interrupt processing and prevent access as users should only be allowed access to organisation they were explicitly granted.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions