Skip to content

Rename permissions skip env var and deprecate old one with tests#2781

Open
sfc-gh-turbaszek wants to merge 2 commits intomainfrom
turbaszek-SNOW-1794102
Open

Rename permissions skip env var and deprecate old one with tests#2781
sfc-gh-turbaszek wants to merge 2 commits intomainfrom
turbaszek-SNOW-1794102

Conversation

@sfc-gh-turbaszek
Copy link
Contributor

Replace SF_SKIP_WARNING_FOR_READ_PERMISSIONS_ON_CONFIG_FILE with SF_SKIP_TOKEN_FILE_PERMISSIONS_VERIFICATION, keeping backward compatibility by falling back to the deprecated env var with a deprecation warning. Add unit tests covering the new/deprecated env var logic and precedence.

Made-with: Cursor

Please answer these questions before submitting your pull requests. Thanks!

  1. What GitHub issue is this PR addressing? Make sure that there is an accompanying issue to your PR.

    Fixes #NNNN

  2. Fill out the following pre-review checklist:

    • I am adding a new automated test(s) to verify correctness of my new code
    • I am adding new logging messages
    • I am adding a new telemetry message
    • I am modifying authorization mechanisms
    • I am adding new credentials
    • I am modifying OCSP code
    • I am adding a new dependency
  3. Please describe how your code solves the related issue.

    Please write a short description of how your code change solves the related issue.

  4. (Optional) PR for stored-proc connector:

Replace SF_SKIP_WARNING_FOR_READ_PERMISSIONS_ON_CONFIG_FILE with
SF_SKIP_TOKEN_FILE_PERMISSIONS_VERIFICATION, keeping backward
compatibility by falling back to the deprecated env var with a
deprecation warning. Add unit tests covering the new/deprecated
env var logic and precedence.

Made-with: Cursor
@sfc-gh-turbaszek sfc-gh-turbaszek requested a review from a team as a code owner March 5, 2026 08:12
Copy link
Collaborator

@sfc-gh-pczajka sfc-gh-pczajka left a comment

Choose a reason for hiding this comment

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

LGTM

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