+1 binding Ayush Kulshreshtha <[email protected]>于2026年11月21日 周六19:43写道:
> Hi all, > > Following the DISCUSS thread [1], I'd like to start the vote for PIP-503: > Topic-scoped subscription permissions. > > Proposal: > > https://www.google.com/url?q=https://github.com/apache/pulsar/pull/27647&source=gmail&ust=1795347555820000&sa=E > Issue: > > https://www.google.com/url?q=https://github.com/apache/pulsar/issues/27578&source=gmail&ust=1795347555820000&sa=E > > Summary > ------- > Subscription permissions are currently namespace-scoped: the roles set for > a subscription name apply to that name on every topic in the namespace. > This means an operator cannot grant or restrict a subscription on just one > topic. > > This PIP adds subscription permissions scoped to an individual topic. For a > given topic and subscription, a topic-scoped entry takes precedence over > the namespace-scoped entry for the same subscription name. If no > topic-scoped entry exists, the namespace-scoped entry continues to apply. > The entries are stored alongside the existing topic-level permissions in > the namespace policies and managed through new pulsar-admin topics > commands, REST endpoints and admin client methods that mirror the > namespace-level equivalents. Existing grants retain their current effect. > > The DISCUSS thread raised whether a topic-scoped entry should only narrow a > namespace-scoped permission. The PIP specifies that the more specific topic > entry takes precedence, so it may either widen or narrow the permission; > the Alternatives section explains the rationale. The proposal was reviewed > over several rounds on the PR and approved by Penghui. > > The vote will remain open for at least 72 hours. The PIP is adopted with at > least three +1 binding PMC votes and no -1 binding votes. > > [ ] +1, approve > [ ] +0 > [ ] -1, disapprove (please give the reason) > > [1] > > https://www.google.com/url?q=https://lists.apache.org/thread/lb7kvwnh0t3ngsd7dvc4zg4gt4cs1xol&source=gmail&ust=1795347555820000&sa=E > > Thanks, > Ayush Kulshreshtha >
