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

Prevent User Access when configuration incomplete #420

Open
NigelPalmer opened this issue Jul 19, 2024 · 0 comments
Open

Prevent User Access when configuration incomplete #420

NigelPalmer opened this issue Jul 19, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@NigelPalmer
Copy link
Contributor

NigelPalmer commented Jul 19, 2024

Description

There are a number of items of configuration that need to be set up before a user can successfully use the MDE. We should prevent the user from being to log in if any of the following are missing:

  1. Core table of star schema is not defined
  2. Query builder data types for primitive types are not defined
  3. "API Property for APPROVAL_RECIPIENT_KEY email.research.data_specification.recipient is not configured"
  4. Once 3 is populated, the email must relate to a user of the system: "Could not find user with email address test@test.com"

Additional context

The core table and query builder data types checks are already carried out when the query builder is accessed. This code should be able to be reused for a login check.

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

No branches or pull requests

2 participants