Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Map to non-compliant topic structures #185

Open
bluemonk3y opened this issue Aug 31, 2023 · 0 comments
Open

Map to non-compliant topic structures #185

bluemonk3y opened this issue Aug 31, 2023 · 0 comments
Assignees
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@bluemonk3y
Copy link
Collaborator

bluemonk3y commented Aug 31, 2023

Many users with an existing installation want to use specmesh on non-structured/non-compliant topics

Resolution

  1. ACL/Permissions - support permission configuration via channel tags: _public, _private, _protected
  2. Root Id - specmesh uses a root id as the ACL/Domain owner - this doubles as the service id (no change)
  3. Define absolute paths on owned topics. See below.

Normally topics are appended to the id. i.e. domain-owner + permission + topic. In this case, the topic:

  1. doesn't start with _public/_private/_protected, imported/requested topic are of the form:
  2. a remote topic like: acme.simple_range.transport._public.tube. id: acme.simple_range'

Resolution:

  1. Require topics to include the same id on the prefix. i.e. domain: acme.domain-id is located at the id and also used on the topic prefix. The only difference here is there is no permission prefix _public etc. it requires a permission tag - see Resolution item 1. above

This approach will grant permission ACLs/metrics because the topic prefixing with the domain id is supported. Installations without a domain id - must be 'imported'

Therefore we can use

domain-id.topic-name
as opposed to the expected
domain-id.{permission}.topic-name

In short, the resolution is to:

  • support moving the permission to the tag on the channel
  • document it

Required for #184

@bluemonk3y bluemonk3y added the enhancement New feature or request label Aug 31, 2023
@bluemonk3y bluemonk3y added the help wanted Extra attention is needed label Aug 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants