Hi all, Following the discussion thread [1] and the review on the proposal PR [2], I'd like to start a new vote on the revised PIP-503: Topic-scoped subscription permissions. The previous vote [3] was cancelled because of the design changes below.
Summary ------- Subscription permissions are namespace-scoped today. The roles set for a subscription name apply on every topic in the namespace. This PIP adds subscription permissions scoped to one topic. A topic-scoped entry takes precedence over the namespace-scoped entry for the same subscription name. Without one, the namespace entry applies as today, and existing grants are unchanged. Main changes since the previous vote ------------------------------------- - The per-topic decision is now made by the authorization provider, through AuthorizationService, with the original principal. Multi-role tokens and proxied requests are handled as other checks handle them. - Partition names are rejected with 400, naming the partitioned topic to use. - Entries of deleted or unloaded topics can be listed and revoked without the topic. - The scalable-topic REST, Java client and CLI surface is listed. - For migrated topics, rule changes are made on both names until the legacy segments drain. Proposal: https://github.com/apache/pulsar/pull/27647 Issue: https://github.com/apache/pulsar/issues/27578 The vote will stay open for at least 72 hours. [1] https://lists.apache.org/thread/lb7kvwnh0t3ngsd7dvc4zg4gt4cs1xol [2] https://github.com/apache/pulsar/pull/27647 [3] https://lists.apache.org/thread/xc4x4xh6gjcz9gd5cjxsdm6k2dfsjktw Thanks, Ayush Kulshreshtha
