Hi all,

A note for voters: after this vote opened, Penghui's review on the PIP pull
request (apache/pulsar #27647) led to three clarifications in the text, in
commit b7d94a0:

- The per-topic decision used by the namespace and bundle subscription
operations is now operation-specific. For an authorization provider without
topic-scoped subscription permissions, it is the named check those
operations make today, so their behavior is unchanged, including clear
backlog of all subscriptions. For the built-in provider, the subscription
rule and the consume permission must pass for the same role.
- The internal route that removes a subscription from non-persistent topics
accepts super-users (the broker's own identity) only.
- After a migrated subscription drains its legacy segments, the scalable
topic's rule alone is enough to consume it; seek, clear backlog and delete
still check the regular topic's rule while a legacy segment remains.

The rest of the proposal is unchanged.

Thanks,
Ayush Kulshreshtha

On Mon, Nov 30, 2026 09:16 AM, Ayush Kulshreshtha <
[email protected]> wrote:

> 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
>

Reply via email to