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

Semantic Permissions #6556

Open
ripienaar opened this issue Feb 21, 2025 · 0 comments
Open

Semantic Permissions #6556

ripienaar opened this issue Feb 21, 2025 · 0 comments
Labels
2.12 needs design Needs design or ADR proposal Enhancement idea or proposal

Comments

@ripienaar
Copy link
Contributor

Proposed change

We should move to a model where the permissions for consuming from a stream in another account isn’t about listing n permissions but rather just expression a permission like stream_consumer(STREAM) in an ACL and the ACL will do the right thing.

This way as JetStream evolves and more subjects are added or changed the implications on ACLs are hidden from the user. It’s also just much easier.

This can take a number of forms:

The server-side approach is preferable as this would make it much safer for us to develop future features. Today we often run into the scenario of adding a new API is hard because many users have locked down permissions and we do not control those. However if users locked their servers down using this kind of permission where the server expands it to ACLs we could expand to additional ACLs over time.

Use case

Enhance the ability for users to secure their systems without having to be experts on the jetstream implementation details

Contribution

No response

@ripienaar ripienaar added 2.12 needs design Needs design or ADR proposal Enhancement idea or proposal labels Feb 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
2.12 needs design Needs design or ADR proposal Enhancement idea or proposal
Projects
None yet
Development

No branches or pull requests

1 participant