Skip to content

Commit

Permalink
Revert "Add documentation for moderated sessions (#9425) (#10302)"
Browse files Browse the repository at this point in the history
This reverts commit e8ed183.
  • Loading branch information
xacrimon authored and zmb3 committed Feb 16, 2022
1 parent 34bd99f commit 03b8655
Show file tree
Hide file tree
Showing 41 changed files with 75 additions and 290 deletions.
3 changes: 1 addition & 2 deletions docs/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -238,8 +238,7 @@
{ "title": "Second Factor - WebAuthn", "slug": "/access-controls/guides/webauthn/" },
{ "title": "Per-session MFA", "slug": "/access-controls/guides/per-session-mfa/" },
{ "title": "Dual Authorization", "slug": "/access-controls/guides/dual-authz/" },
{ "title": "Impersonation", "slug": "/access-controls/guides/impersonation/" },
{ "title": "Moderated Sessions", "slug": "/access-controls/guides/moderated-sessions/" }
{ "title": "Impersonation", "slug": "/access-controls/guides/impersonation/" }
]
},
{ "title": "Reference", "slug": "/access-controls/reference/" },
Expand Down
2 changes: 1 addition & 1 deletion docs/pages/access-controls/getting-started.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ Save this role as `interns.yaml`:

```yaml
kind: role
version: v5
version: v4
metadata:
name: interns
spec:
Expand Down
3 changes: 0 additions & 3 deletions docs/pages/access-controls/guides.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,4 @@ layout: tocless-doc
<li>
[Locking](./guides/locking.mdx). Lock access to active user sessions or hosts.
</li>
<li>
[Moderated Sessions](./guides/moderated-sessions.mdx). Require session auditors and allow fine-grained live session access.
</li>
</ul>
8 changes: 4 additions & 4 deletions docs/pages/access-controls/guides/dual-authz.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ spec:
version: v2
---
kind: role
version: v5
version: v4
metadata:
name: access-plugin
spec:
Expand Down Expand Up @@ -162,7 +162,7 @@ Create `dbadmin`, `reviewer` and `devops` roles:

```yaml
kind: role
version: v5
version: v4
metadata:
name: reviewer
spec:
Expand All @@ -171,7 +171,7 @@ spec:
roles: ['dbadmin']
---
kind: role
version: v5
version: v4
metadata:
name: devops
spec:
Expand All @@ -183,7 +183,7 @@ spec:
deny: 1
---
kind: role
version: v5
version: v4
metadata:
name: dbadmin
spec:
Expand Down
10 changes: 5 additions & 5 deletions docs/pages/access-controls/guides/impersonation.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ Save this file as `jenkins.yaml` to create the user and role:

```yaml
kind: role
version: v5
version: v4
metadata:
name: jenkins
spec:
Expand Down Expand Up @@ -77,7 +77,7 @@ Save this role definition as `impersonator.yaml`:

```yaml
kind: role
version: v5
version: v4
metadata:
name: impersonator
spec:
Expand Down Expand Up @@ -179,7 +179,7 @@ allowed the impersonation of any users or roles with the label
```yaml
kind: role
version: v5
version: v4
metadata:
name: security-impersonator
spec:
Expand Down Expand Up @@ -214,7 +214,7 @@ Create a user and a role `security-scanner` using the following template:

```yaml
kind: role
version: v5
version: v4
metadata:
name: security-scanner
labels:
Expand Down Expand Up @@ -256,7 +256,7 @@ as the label on the role and/or user to impersonate:

```yaml
kind: role
version: v5
version: v4
metadata:
name: security-impersonator
spec:
Expand Down
4 changes: 2 additions & 2 deletions docs/pages/access-controls/guides/locking.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ Create a role `locksmith`:

```yaml
kind: role
version: v5
version: v4
metadata:
name: locksmith
spec:
Expand Down Expand Up @@ -231,7 +231,7 @@ It is also possible to configure the locking mode for a particular role:

```yaml
kind: role
version: v5
version: v4
metadata:
name: example-role-with-strict-locking
spec:
Expand Down
182 changes: 0 additions & 182 deletions docs/pages/access-controls/guides/moderated-sessions.mdx

This file was deleted.

4 changes: 2 additions & 2 deletions docs/pages/access-controls/guides/per-session-mfa.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ Olga defines two Teleport roles: `access-dev` and `access-prod`:
```yaml
# access-dev.yaml
kind: role
version: v5
version: v4
metadata:
name: access-dev
spec:
Expand All @@ -100,7 +100,7 @@ spec:
---
# access-prod.yaml
kind: role
version: v5
version: v4
metadata:
name: access-prod
spec:
Expand Down
12 changes: 6 additions & 6 deletions docs/pages/access-controls/guides/role-templates.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ We can create two roles, one for each user in file `roles.yaml`:

```yaml
kind: role
version: v5
version: v4
metadata:
name: alice
spec:
Expand All @@ -49,7 +49,7 @@ spec:
'*': '*'
---
kind: role
version: v5
version: v4
metadata:
name: bob
spec:
Expand Down Expand Up @@ -78,7 +78,7 @@ Let's create a role template `devs.yaml`:

```yaml
kind: role
version: v5
version: v4
metadata:
name: devs
spec:
Expand Down Expand Up @@ -173,7 +173,7 @@ to be set by identity provider. Save this role as `sso-users.yaml`:

```yaml
kind: role
version: v5
version: v4
metadata:
name: sso-users
spec:
Expand Down Expand Up @@ -255,7 +255,7 @@ Let's see how these variables are used with role template `interpolation`:

```yaml
kind: role
version: v5
version: v4
metadata:
name: interpolation
spec:
Expand Down Expand Up @@ -288,7 +288,7 @@ behave as the following role:

```yaml
kind: role
version: v5
version: v4
metadata:
name: interpolation
spec:
Expand Down
Loading

0 comments on commit 03b8655

Please sign in to comment.