Skip to content

Blazer Testing #613

@CraigJZ

Description

@CraigJZ

Description

We are using a modified implementation of the Blazer gem to provide direct SQL access to specific tables with data scoped to an organizational level. Additional information about this set up can be found here: blazer_reporting.md. A key part of this setup is the row level security policies restricting users to data belonging only to their organization. We are lacking test coverage of this feature. This issue would add specs to cover, at least, the following scenarios:

  • When a user runs a query it returns only data belonging to that users organization
  • When a user attempts to run a query against a table they don't have access to, an error is displayed and no data is returned.
  • A user only has access to their organization's data through the Blazer interface.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions