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

builtins: allow VIEWACTIVITY priv to use crdb_internal.request_statem… #118760

Merged
merged 1 commit into from
Feb 6, 2024

Commits on Feb 5, 2024

  1. builtins: allow VIEWACTIVITY priv to use crdb_internal.request_statem…

    …ent_bundle
    
    Previously only those with the VIEWACTIVITY role could use the
    crdb_internal.request_statement_bundle builtin. We should allow
    the VIEWACTIVITY privilege as well since role options are now
    deprecated. This allow also allow stmt bundle requests to be made
    from db-console for users with this granted privilege.
    
    Epic: none
    Fixes: cockroachdb#118759
    
    Release note (bug fix): Those with VIEWACTIVITY privilege can now
    request statement bundles using crdb_internal.requets_statement_bundle
    or via db-console's sql activity page.
    xinhaoz committed Feb 5, 2024
    Configuration menu
    Copy the full SHA
    ce81ca1 View commit details
    Browse the repository at this point in the history