-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
clarify creating moderated sessions for leaf nodes #25557
Comments
Web UI, |
Both |
This is actually expected behavior and should be documented. Unless the mapped roles of the leaf cluster require session moderation, created sessions for leaf nodes will succeed. |
This is not just for moderated sessions and is just how RBAC role mapping works across trusted clusters. The docs cover this here: https://goteleport.com/docs/architecture/trustedclusters/#role-mapping I'll leave it up to @ptgott or @alexfornuto to determine whether or not we need to expand this. |
I think the flowchart linked explains role mapping pretty well for what it is, but that in general that image is not the best way to document this feature. All the content in that image can't be parsed by our search engine, and won't come up in results... and in general it's difficult to read. I think we could improve this bit of documentation by:
Thoughts @ptgott & @lsgunn-teleport ? |
I've started working a complete rewrite of this section (in part, I had to learn about trusted root and leaf clusters to address gravitational/docs#379 and https://github.com/gravitational/teleport-private/issues/130#top). |
If a role specifies that created sessions must be moderated with
require_session_join
and a user containing that role attempts to connect to a leaf node, it should not require moderation, unless the mapped leaf roles also require moderation. This should be documented.The text was updated successfully, but these errors were encountered: