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

DPLT-1042 Enable backend_only mutations by default #124

Merged
merged 1 commit into from
Jul 11, 2023

Conversation

morgsmccauley
Copy link
Collaborator

@morgsmccauley morgsmccauley commented Jul 11, 2023

This PR enables backend_only mutations by default for insert, update, and delete permissions. Meaning all mutations can only be written to by those with the admin secret, i.e. the backend.

If we think necessary, I can also backfill all current roles/tables to also enable this role.

Copy link
Collaborator

@gabehamilton gabehamilton left a comment

Choose a reason for hiding this comment

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

We should at least backfill permissions on the dataplatform.near/* indexers

@morgsmccauley
Copy link
Collaborator Author

morgsmccauley commented Jul 11, 2023

We should at least backfill permissions on the dataplatform.near/* indexers

@gabehamilton already done 👍🏼

@morgsmccauley morgsmccauley merged commit fc4fb7e into main Jul 11, 2023
1 check passed
@morgsmccauley morgsmccauley deleted the DPLT-1042-default-backend-only-mutations branch July 11, 2023 23:37
@morgsmccauley morgsmccauley changed the title feat: Enable backend_only mutations by default DPLT-1042 Enable backend_only mutations by default Jul 11, 2023
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