You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2022/10/18 11:57:21 UTC

[GitHub] [pulsar] leizhiyuan opened a new issue, #18090: allow tenant admin can operate in namespace level

leizhiyuan opened a new issue, #18090:
URL: https://github.com/apache/pulsar/issues/18090

   ### Search before asking
   
   - [X] I searched in the [issues](https://github.com/apache/pulsar/issues) and found nothing similar.
   
   
   ### Motivation
   
   in v2/namespaces 
   
   just like 
   
   ```
    protected CompletableFuture<Void> internalUnloadNamespaceAsync() {
           return validateSuperUserAccessAsync()
   ```
   
   and 
   
   ```
    protected CompletableFuture<Void> internalSplitNamespaceBundleAsync(String bundleName,
                                                                           boolean authoritative, boolean unload,
                                                                           String splitAlgorithmName,
                                                                           List<Long> splitBoundaries) {
           return validateSuperUserAccessAsync()
   ```
   
   we only need to validate tenantAllowOperation, we do not need the role is superUser
   
   
   
   ### Solution
   
   we can check validateTenantOperationAsync
   
   ### Alternatives
   
   no
   
   ### Anything else?
   
   no
   
   ### Are you willing to submit a PR?
   
   - [X] I'm willing to submit a PR!


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@pulsar.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [pulsar] github-actions[bot] commented on issue #18090: allow tenant admin can operate in namespace level

Posted by GitBox <gi...@apache.org>.
github-actions[bot] commented on issue #18090:
URL: https://github.com/apache/pulsar/issues/18090#issuecomment-1319458703

   The issue had no activity for 30 days, mark with Stale label.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] allow tenant admin can operate in namespace level [pulsar]

Posted by "merlimat (via GitHub)" <gi...@apache.org>.
merlimat closed issue #18090: allow tenant admin can operate in namespace level
URL: https://github.com/apache/pulsar/issues/18090


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] allow tenant admin can operate in namespace level [pulsar]

Posted by "merlimat (via GitHub)" <gi...@apache.org>.
merlimat commented on issue #18090:
URL: https://github.com/apache/pulsar/issues/18090#issuecomment-6388880900

   Thanks @leizhiyuan. Unloading and splitting bundles still require super-user. These are cluster-level operations: they move load between brokers that every tenant shares, and with the destination-broker option they can place bundles on a chosen broker. Letting tenant admins run them would change the authorization model, likely through new `NamespaceOperation` values that authorization providers must handle, so it needs a Pulsar Improvement Proposal: https://github.com/apache/pulsar/blob/master/pip/README.md. I'm closing this issue for now, and a PIP is welcome.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org