Skip to content

When listing an organisation's users, if a user exists in FGA but not in SuiteCRM, stream the error to Sentry and return user list without that user #73

@simon-20

Description

@simon-20

Brief Description
When listing an organisation's users, if a user exists in FGA but not in SuiteCRM, an exception is raised, but it should return list without that user.

By raising an exception in this error state, the endpoint /reporting-orgs/{ID}/users will become unavailable until it is fixed.

It would be more robust to log an error to the app log and audit log, and then return a list of users for the organisation who are found in both the FGA db and SuiteCRM.

The relevant code is here:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions