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

Bugfix/allow app registration #1240

Merged
merged 5 commits into from
Feb 2, 2024
Merged

Conversation

michaeljcollinsuk
Copy link
Contributor

@michaeljcollinsuk michaeljcollinsuk commented Jan 31, 2024

Follow on changes to #1228

Fixes some bugs found when testing:

  • Allow app admins to create Auth0 clients
  • Display the Register App button to all users
  • Update the list of datasources that can be linked to an app, so that only datasources that the user has admin access to are displayed
  • Update logic to show the button to create webapp datasources

TODO
In a follow up PR need to add in some extra tests to the new methods on the forms

- Update rules to allow app admin to create Auth0 clients
- Display the Webapps nav button to all users, so they have access to the register app button
Updates the register app form, so that users cannot grant apps access
to datasources they dont have admin access for. Add unit test and
update other tests that require a user object
On manage app page, only display datasources that the app admin
already has access to. Also limit only to non-data warehouses.
Superusers can see all buckets.
Add method to user to check if they are an app admin, and if so
display the webapp data button
mitchdawson1982
mitchdawson1982 previously approved these changes Feb 1, 2024
Copy link

@mitchdawson1982 mitchdawson1982 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link

@mitchdawson1982 mitchdawson1982 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚀

@michaeljcollinsuk michaeljcollinsuk merged commit ceb25e2 into main Feb 2, 2024
5 checks passed
@michaeljcollinsuk michaeljcollinsuk deleted the bugfix/allow-app-registration branch February 2, 2024 09:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants