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

RN-864: Add 'Delete' button to Data-Tables page in the Admin Panel #4456

Merged
merged 4 commits into from
Apr 17, 2023

Conversation

rohan-bes
Copy link
Collaborator

Issue RN-864:

Added missing 'Delete' button. Also chose to tighten up permissions on creating data-tables, more explanation in PR comments.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Chose to delete this, and instead use BES Admin permissions requirements for creating data-tables.

Did this because:

  • Currently we don't have a way of ensuring that a user has access to the External Database Connection they're creating/editing their data-table with.
  • We could add this permissions check, but I figured that since it's really only going to be internal users creating data-tables for the forseable future, using BES Admin for everything data-tables is sufficient.
  • If reviewer feels differently I'm happy to introduce appropriate logic for ensuring that a user doesn't create/edit data-tables which use external database connections that they don't have access to.

Copy link
Contributor

@chris-pollard chris-pollard left a comment

Choose a reason for hiding this comment

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

Nice one @rohan-bes !

merge latest dev before testing
@rohan-bes rohan-bes merged commit c80737b into dev Apr 17, 2023
@rohan-bes rohan-bes deleted the rn-864-allow-deleting-dts branch April 17, 2023 03:29
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.

3 participants