ydb icon indicating copy to clipboard operation
ydb copied to clipboard

EnforceUserTokenCheckRequirement option: require token check if token was specified

Open UgnineSirdis opened this issue 9 months ago • 3 comments

EnforceUserTokenCheckRequirement option: require token check if token was specified. Valid only when EnforceUserTokenRequirement option is false.

This behavour is expected by users: when they specify token, they expect that they use authorized access to database. But for historical reasons unauthorized tokens now are accepted as if user not specified token at all. In this mode it is hard to check correctness of authorization: both in server and in client.

Changelog category

  • New feature

Additional information

...

UgnineSirdis avatar May 09 '24 12:05 UgnineSirdis

:white_circle: 2024-05-09 12:49:41 UTC Pre-commit check for 42ef645f6bf04b1a75f7a4769af696637657f53c has started. :white_circle: 2024-05-09 12:49:44 UTC Build linux-x86_64-release-clang14 is running... :green_circle: 2024-05-09 13:22:39 UTC Build successful.

github-actions[bot] avatar May 09 '24 12:05 github-actions[bot]

:white_circle: 2024-05-09 12:49:44 UTC Pre-commit check for 42ef645f6bf04b1a75f7a4769af696637657f53c has started. :white_circle: 2024-05-09 12:49:47 UTC Build linux-x86_64-release-asan is running... :green_circle: 2024-05-09 13:27:08 UTC Build successful. :white_circle: 2024-05-09 13:28:56 UTC Tests are running... :red_circle: 2024-05-09 15:15:14 UTC Some tests failed, follow the links below.

Test history

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
10308 10180 0 29 88 11

github-actions[bot] avatar May 09 '24 12:05 github-actions[bot]

:white_circle: 2024-05-09 12:49:46 UTC Pre-commit check for 42ef645f6bf04b1a75f7a4769af696637657f53c has started. :white_circle: 2024-05-09 12:49:48 UTC Build linux-x86_64-relwithdebinfo is running... :green_circle: 2024-05-09 13:26:12 UTC Build successful. :white_circle: 2024-05-09 13:28:01 UTC Tests are running... :red_circle: 2024-05-09 15:03:50 UTC Some tests failed, follow the links below.

Test history

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
37684 32345 0 9 5322 8

github-actions[bot] avatar May 09 '24 12:05 github-actions[bot]

:white_circle: 2024-05-23 14:44:15 UTC Pre-commit check for 4c6bd8498cace85c94993172d184547a39b694ad has started. :white_circle: 2024-05-23 14:46:55 UTC Build linux-x86_64-relwithdebinfo is running... :green_circle: 2024-05-23 15:21:54 UTC Build successful. :white_circle: 2024-05-23 15:22:05 UTC Tests are running... :red_circle: 2024-05-23 16:52:52 UTC Some tests failed, follow the links below.

Test history

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
38309 33508 0 4 4788 9

github-actions[bot] avatar May 23 '24 14:05 github-actions[bot]

:white_circle: 2024-05-23 14:44:31 UTC Pre-commit check for 4c6bd8498cace85c94993172d184547a39b694ad has started. :white_circle: 2024-05-23 14:47:16 UTC Build linux-x86_64-release-asan is running... :green_circle: 2024-05-23 15:26:29 UTC Build successful. :white_circle: 2024-05-23 15:26:38 UTC Tests are running... :red_circle: 2024-05-23 17:22:30 UTC Some tests failed, follow the links below.

Test history

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
10839 10687 0 28 100 24

github-actions[bot] avatar May 23 '24 14:05 github-actions[bot]

:white_circle: 2024-05-23 14:45:50 UTC Pre-commit check for 4c6bd8498cace85c94993172d184547a39b694ad has started. :white_circle: 2024-05-23 14:48:30 UTC Build linux-x86_64-release-clang14 is running... :green_circle: 2024-05-23 15:24:40 UTC Build successful.

github-actions[bot] avatar May 23 '24 14:05 github-actions[bot]