Skip to content

Semantic Permissions #6556

@ripienaar

Description

@ripienaar

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    2.12+Features for 2.12 and beyondneeds designNeeds design or ADRproposalEnhancement idea or proposal

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions