[MDS-6975] Give data team read only (Select) access to required public tables in Postgres - #3965
Open
alazar-aot wants to merge 1 commit into
Open
[MDS-6975] Give data team read only (Select) access to required public tables in Postgres#3965alazar-aot wants to merge 1 commit into
alazar-aot wants to merge 1 commit into
Conversation
…the mds_data_analytics user/role, to allow the data team to read from those tables
|
matbusby-fw
approved these changes
Aug 7, 2026
matbusby-fw
left a comment
Collaborator
There was a problem hiding this comment.
Looks good. The only possible issue I can see would be if we were to rename/drop any of these tables down the line (very unlikely), it might cause a headache for whichever dev took that on. But I think the risk is quite minimal for that.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



Objective
MDS-
Why are you making this change? Provide a short explanation and/or screenshots
The data team informed us that they require SELECT (read only) access to the below public MDS tables:
public.minespace_user_document_xrefpublic.notice_of_work_tierpublic.major_mine_application_document_subtypepublic.ams_final_application_document_xrefpublic.ams_final_application_versionpublic.minespace_user_versionpublic.minespace_user_requestpublic.minespace_user_role_xrefpublic.now_application_tierpublic.email_trackingpublic.permit_condition_tag_xrefpublic.standard_permit_condition_tag_xrefpublic.minespace_user_rolepublic.ams_final_applicationpublic.now_application_tier_versionpublic.ams_final_application_document_typepublic.permit_condition_tagThis PR adds that access to the user specified by the data team