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

Backport of acl: add ACL roles to event stream topic and resolve policies. into release/1.4.x #14976

Conversation

hc-github-team-nomad-core
Copy link
Contributor

Backport

This PR is auto-generated from #14923 to be assessed for backporting due to the inclusion of the label backport/1.4.x.

The below text is copied from the body of the original PR.


This changes adds ACL role creation and deletion to the event stream. It is exposed as a single topic with two types; the filter is primarily the role ID but also includes the role name.

While conducting this work it was also discovered that the events stream has its own ACL resolution logic. This did not account for ACL tokens which included role links, or tokens with expiry times. ACL role links are now resolved to their policies and tokens are checked for expiry correctly.

Related to #14922 and includes a modification in the RPC handler to accommodate the linked PR.
Closes #14777

@hc-github-team-nomad-core hc-github-team-nomad-core force-pushed the backport/jrasell/event-stream-acl-roles/early-sacred-turtle branch from c04fa09 to 363d20d Compare October 20, 2022 07:51
@hc-github-team-nomad-core hc-github-team-nomad-core merged commit a2d076e into release/1.4.x Oct 20, 2022
@hc-github-team-nomad-core hc-github-team-nomad-core deleted the backport/jrasell/event-stream-acl-roles/early-sacred-turtle branch October 20, 2022 07:51
@github-actions
Copy link

I'm going to lock this pull request because it has been closed for 120 days ⏳. This helps our maintainers find and focus on the active contributions.
If you have found a problem that seems related to this change, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 19, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants