Repository navigation
Conversation
…odel
The library lists limits the caller must cover. Realtime's loader now checks
the two that a project's owner can create without a superuser, and reports
what it finds through a new optional snapshot input, unmodelled_setup.
Any entry makes every decision fall back with {:unmodelled_setup, kind},
category :setup:
- role_membership: a role the library decides for is a member of another
role a policy can name
- triggers: a trigger on realtime.messages or a partition that isn't
disabled. `realtime.authorize`` inserts probe rows, so a trigger can
change or fail the check
The other limits (a setting default, the search_path, revoked privileges
on the known functions, the database encoding) are not checked - users
can't set them and didn't want to overload the code with things that
shouldn't happen.
Contributor
CRAP Score Report |
This branch has not been deployed
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.
The library lists limits the caller must cover. Realtime's loader now checks the two that a project's owner can create without a superuser, and reports what it finds through a new optional snapshot input, unmodelled_setup.
Any entry makes every decision fall back with {:unmodelled_setup, kind}, category :setup:
The other limits (a setting default, the search_path, revoked privileges on the known functions, the database encoding) are not checked - users can't set them and didn't want to overload the code with things that shouldn't happen.