Skip to content

Commit

Permalink
[v14] docs: update session_tracker reference (#45468)
Browse files Browse the repository at this point in the history
* docs: include k8s in session_tracker reference

* docs: update session.participants verbiage

* docs: update verbiage for session_tracker.participants

---------

Co-authored-by: Steven Martin <[email protected]>
  • Loading branch information
stevenGravy and Steven Martin authored Aug 14, 2024
1 parent 1250517 commit f5415e7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/pages/access-controls/reference.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -410,8 +410,8 @@ spec:
deny:
rules:
# ... and then limit that access via a deny rule.
# Deny rules take precedence over allow rules, so the resulting role allows
# users to create SSH sessions but to only view their own sessions.
# Deny rules take precedence over allow rules, so the resulting role
# only allows user to see their own active sessions.
- resources: [session_tracker]
verbs: [list, read, update, delete]
where: '!contains(session_tracker.participants, user.metadata.name)'
Expand Down Expand Up @@ -634,7 +634,7 @@ within this guide:
| -------------------------- | ------------------------------------------------- |
| `user.spec.roles` | The list of roles assigned to a user |
| `session.participants` | The list of participants from a session recording |
| `session_tracker.participants` | The list of participants from an SSH session |
| `session_tracker.participants` | The list of participants from the session |
| `user.metadata.name` | The user's name |

Read the [predicate
Expand Down

0 comments on commit f5415e7

Please sign in to comment.