Initial user's roles are used now to find row policies#31262
Initial user's roles are used now to find row policies#31262vitlibar merged 2 commits intoClickHouse:masterfrom
Conversation
|
Looks like it's backward incompatibility. Also, changelog entry is not very good. Please, add more context (that it's a remote query which has initial user and interserver user, they may have different row policy, and now we try to take the one for initial user, but not interserver). If we don't have initial user on remote query, will we use row policy for interserver user, or there will not be any row policy at all? |
I've added more detailed description.
Yes, it's kind of backward incompatibility but I can't imagine somebody who would rely on that the row policy |
Changelog category:
Changelog entry:
Initial user's roles are used now to find row policies, see #31080
Details:
There are two modes: 1. when the interserver secret is not defined in the cluster's definition and 2. when it's defined.