You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by "eolivelli (via GitHub)" <gi...@apache.org> on 2023/02/28 14:42:32 UTC

[GitHub] [pulsar] eolivelli opened a new issue, #19664: Support custom properties for Tenants and Namespaces

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

   ### Search before asking
   
   - [X] I searched in the [issues](https://github.com/apache/pulsar/issues) and found nothing similar.
   
   
   ### Motivation
   
   In Pulsar 2.11 we can store custom properties in Topics and in Subscription.
   We lack the ability to tag Tenants and Namespaces with custom properties.
   
   ### Solution
   
   Support setting a custom set of key-value pairs on Tenants and on Namespaces.
   
   The map can be immutable
   
   
   ### Alternatives
   
   _No response_
   
   ### Anything else?
   
   _No response_
   
   ### Are you willing to submit a PR?
   
   - [ ] 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] michaeljmarshall commented on issue #19664: Support custom properties for Tenants and Namespaces

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

   We'll need to consider authorization for these properties. Who has access to the get and modify these properties?


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


[GitHub] [pulsar] github-actions[bot] commented on issue #19664: Support custom properties for Tenants and Namespaces

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #19664:
URL: https://github.com/apache/pulsar/issues/19664#issuecomment-1499837119

   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


[GitHub] [pulsar] michaeljmarshall commented on issue #19664: Support custom properties for Tenants and Namespaces

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

   For reference, reading topic properties maps to the `TopicOperation.GET_METADATA`, which requires lookup permission for the topic. Updating or deleting that metadata require tenant admin or superuser privileges. Interestingly, any user that can create a topic can also create the initial properties map for that topic. That is technically inconsistent since a role could have permission to create a properties map but not update it later.
   
   In the context of this feature, I think it seems reasonable for a tenant admin or superuser should be able to create/update/delete namespace properties, and I think a super user should be the only role that is able to create/update/delete tenant properties.


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


[GitHub] [pulsar] dao-jun commented on issue #19664: Support custom properties for Tenants and Namespaces

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

   related PIP: https://github.com/apache/pulsar/issues/12629


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