Skip to content

Role to access session recordings from other users #12901

Answered by webvictim
jamshidyerzakov asked this question in Q&A
Discussion options

You must be logged in to vote

This is the default role that allows a user to view their own session recordings:

kind: role
metadata:
  name: view-own-recordings
spec:
  allow:
    rules:
    - resources:
      - session
      verbs:
      - read
      - list
      where: contains(session.participants, user.metadata.name)
  deny: {}
version: v5

You can modify this role by removing the where clause to allow ALL session recordings to be viewed:

kind: role
metadata:
  name: view-all-recordings
spec:
  allow:
    rules:
    - resources:
      - session
      verbs:
      - read
      - list
  deny: {}
version: v5

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@jamshidyerzakov
Comment options

Answer selected by webvictim
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants