Skip to content

Commit 6cfd2bd

Browse files
website/docs: update preview status of different features (cherry-pick #11817) (#11818)
website/docs: update preview status of different features (#11817) * remove preview from RAC * add preview page instead of info box * remove preview from rbac * add preview to gdtc * add preview to kerberos source --------- Signed-off-by: Jens Langhammer <[email protected]> Co-authored-by: Jens L. <[email protected]>
1 parent f0e4f93 commit 6cfd2bd

File tree

16 files changed

+100
-105
lines changed

16 files changed

+100
-105
lines changed

web/src/admin/providers/rac/RACProviderViewPage.ts

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -129,11 +129,7 @@ export class RACProviderViewPage extends AKElement {
129129
if (!this.provider) {
130130
return html``;
131131
}
132-
return html`<div slot="header" class="pf-c-banner pf-m-info">
133-
${msg("RAC is in preview.")}
134-
<a href="mailto:hello+feature/[email protected]">${msg("Send us feedback!")}</a>
135-
</div>
136-
${this.provider?.assignedApplicationName
132+
return html`${this.provider?.assignedApplicationName
137133
? html``
138134
: html`<div slot="header" class="pf-c-banner pf-m-warning">
139135
${msg("Warning: Provider is not used by an Application.")}

web/src/admin/rbac/ObjectPermissionModal.ts

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ import { msg } from "@lit/localize";
77
import { CSSResult, TemplateResult, html } from "lit";
88
import { customElement, property } from "lit/decorators.js";
99

10-
import PFBanner from "@patternfly/patternfly/components/Banner/banner.css";
1110
import PFButton from "@patternfly/patternfly/components/Button/button.css";
1211
import PFBase from "@patternfly/patternfly/patternfly-base.css";
1312

@@ -53,17 +52,13 @@ export class ObjectPermissionModal extends AKElement {
5352
objectPk?: string | number;
5453

5554
static get styles(): CSSResult[] {
56-
return [PFBase, PFButton, PFBanner];
55+
return [PFBase, PFButton];
5756
}
5857

5958
render(): TemplateResult {
6059
return html`
6160
<ak-forms-modal .showSubmitButton=${false} cancelText=${msg("Close")}>
6261
<span slot="header"> ${msg("Update Permissions")} </span>
63-
<div class="pf-c-banner pf-m-info" slot="above-form">
64-
${msg("RBAC is in preview.")}
65-
<a href="mailto:[email protected]">${msg("Send us feedback!")}</a>
66-
</div>
6762
<ak-rbac-object-permission-modal-form
6863
slot="form"
6964
.model=${this.model}

web/src/admin/rbac/ObjectPermissionsPage.ts

Lines changed: 46 additions & 53 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ import { msg } from "@lit/localize";
1111
import { html, nothing } from "lit";
1212
import { customElement, property } from "lit/decorators.js";
1313

14-
import PFBanner from "@patternfly/patternfly/components/Banner/banner.css";
1514
import PFCard from "@patternfly/patternfly/components/Card/card.css";
1615
import PFPage from "@patternfly/patternfly/components/Page/page.css";
1716
import PFGrid from "@patternfly/patternfly/layouts/Grid/grid.css";
@@ -31,66 +30,60 @@ export class ObjectPermissionPage extends AKElement {
3130
embedded = false;
3231

3332
static get styles() {
34-
return [PFBase, PFGrid, PFPage, PFCard, PFBanner];
33+
return [PFBase, PFGrid, PFPage, PFCard];
3534
}
3635

3736
render() {
38-
return html`${!this.embedded
39-
? html`<div class="pf-c-banner pf-m-info">
40-
${msg("RBAC is in preview.")}
41-
<a href="mailto:[email protected]">${msg("Send us feedback!")}</a>
42-
</div>`
37+
return html` <ak-tabs pageIdentifier="permissionPage" ?vertical=${!this.embedded}>
38+
${this.model === RbacPermissionsAssignedByUsersListModelEnum.CoreUser
39+
? this.renderCoreUser()
4340
: nothing}
44-
<ak-tabs pageIdentifier="permissionPage" ?vertical=${!this.embedded}>
45-
${this.model === RbacPermissionsAssignedByUsersListModelEnum.CoreUser
46-
? this.renderCoreUser()
47-
: nothing}
48-
${this.model === RbacPermissionsAssignedByUsersListModelEnum.RbacRole
49-
? this.renderRbacRole()
50-
: nothing}
51-
<section
52-
slot="page-object-user"
53-
data-tab-title="${msg("User Object Permissions")}"
54-
class="pf-c-page__main-section pf-m-no-padding-mobile"
55-
>
56-
<div class="pf-l-grid pf-m-gutter">
57-
<div class="pf-c-card pf-l-grid__item pf-m-12-col">
58-
<div class="pf-c-card__title">${msg("User Object Permissions")}</div>
59-
<div class="pf-c-card__body">
60-
${msg("Permissions set on users which affect this object.")}
61-
</div>
62-
<div class="pf-c-card__body">
63-
<ak-rbac-user-object-permission-table
64-
.model=${this.model}
65-
.objectPk=${this.objectPk}
66-
>
67-
</ak-rbac-user-object-permission-table>
68-
</div>
41+
${this.model === RbacPermissionsAssignedByUsersListModelEnum.RbacRole
42+
? this.renderRbacRole()
43+
: nothing}
44+
<section
45+
slot="page-object-user"
46+
data-tab-title="${msg("User Object Permissions")}"
47+
class="pf-c-page__main-section pf-m-no-padding-mobile"
48+
>
49+
<div class="pf-l-grid pf-m-gutter">
50+
<div class="pf-c-card pf-l-grid__item pf-m-12-col">
51+
<div class="pf-c-card__title">${msg("User Object Permissions")}</div>
52+
<div class="pf-c-card__body">
53+
${msg("Permissions set on users which affect this object.")}
54+
</div>
55+
<div class="pf-c-card__body">
56+
<ak-rbac-user-object-permission-table
57+
.model=${this.model}
58+
.objectPk=${this.objectPk}
59+
>
60+
</ak-rbac-user-object-permission-table>
6961
</div>
7062
</div>
71-
</section>
72-
<section
73-
slot="page-object-role"
74-
data-tab-title="${msg("Role Object Permissions")}"
75-
class="pf-c-page__main-section pf-m-no-padding-mobile"
76-
>
77-
<div class="pf-l-grid pf-m-gutter">
78-
<div class="pf-c-card pf-l-grid__item pf-m-12-col">
79-
<div class="pf-c-card__title">${msg("Role Object Permissions")}</div>
80-
<div class="pf-c-card__body">
81-
${msg("Permissions set on roles which affect this object.")}
82-
</div>
83-
<div class="pf-c-card__body">
84-
<ak-rbac-role-object-permission-table
85-
.model=${this.model}
86-
.objectPk=${this.objectPk}
87-
>
88-
</ak-rbac-role-object-permission-table>
89-
</div>
63+
</div>
64+
</section>
65+
<section
66+
slot="page-object-role"
67+
data-tab-title="${msg("Role Object Permissions")}"
68+
class="pf-c-page__main-section pf-m-no-padding-mobile"
69+
>
70+
<div class="pf-l-grid pf-m-gutter">
71+
<div class="pf-c-card pf-l-grid__item pf-m-12-col">
72+
<div class="pf-c-card__title">${msg("Role Object Permissions")}</div>
73+
<div class="pf-c-card__body">
74+
${msg("Permissions set on roles which affect this object.")}
75+
</div>
76+
<div class="pf-c-card__body">
77+
<ak-rbac-role-object-permission-table
78+
.model=${this.model}
79+
.objectPk=${this.objectPk}
80+
>
81+
</ak-rbac-role-object-permission-table>
9082
</div>
9183
</div>
92-
</section>
93-
</ak-tabs>`;
84+
</div>
85+
</section>
86+
</ak-tabs>`;
9487
}
9588

9689
renderCoreUser() {

web/src/admin/roles/RoleListPage.ts

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,10 @@ import { TablePage } from "@goauthentik/elements/table/TablePage";
99
import "@patternfly/elements/pf-tooltip/pf-tooltip.js";
1010

1111
import { msg } from "@lit/localize";
12-
import { CSSResult, TemplateResult, html } from "lit";
12+
import { TemplateResult, html } from "lit";
1313
import { customElement, property } from "lit/decorators.js";
1414
import { ifDefined } from "lit/directives/if-defined.js";
1515

16-
import PFBanner from "@patternfly/patternfly/components/Banner/banner.css";
17-
1816
import { RbacApi, Role } from "@goauthentik/api";
1917

2018
@customElement("ak-role-list")
@@ -37,10 +35,6 @@ export class RoleListPage extends TablePage<Role> {
3735
@property()
3836
order = "name";
3937

40-
static get styles(): CSSResult[] {
41-
return [...super.styles, PFBanner];
42-
}
43-
4438
async apiEndpoint(): Promise<PaginatedResponse<Role>> {
4539
return new RbacApi(DEFAULT_CONFIG).rbacRolesList(await this.defaultEndpointConfig());
4640
}
@@ -78,10 +72,6 @@ export class RoleListPage extends TablePage<Role> {
7872
description=${ifDefined(this.pageDescription())}
7973
>
8074
</ak-page-header>
81-
<div class="pf-c-banner pf-m-info">
82-
${msg("RBAC is in preview.")}
83-
<a href="mailto:[email protected]">${msg("Send us feedback!")}</a>
84-
</div>
8575
<section class="pf-c-page__main-section pf-m-no-padding-mobile">
8676
<div class="pf-c-card">${this.renderTable()}</div>
8777
</section>`;

web/src/admin/sources/kerberos/KerberosSourceViewPage.ts

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ import { msg } from "@lit/localize";
1818
import { CSSResult, TemplateResult, html } from "lit";
1919
import { customElement, property, state } from "lit/decorators.js";
2020

21+
import PFBanner from "@patternfly/patternfly/components/Banner/banner.css";
2122
import PFButton from "@patternfly/patternfly/components/Button/button.css";
2223
import PFCard from "@patternfly/patternfly/components/Card/card.css";
2324
import PFContent from "@patternfly/patternfly/components/Content/content.css";
@@ -54,7 +55,17 @@ export class KerberosSourceViewPage extends AKElement {
5455
syncState?: SyncStatus;
5556

5657
static get styles(): CSSResult[] {
57-
return [PFBase, PFPage, PFButton, PFGrid, PFContent, PFCard, PFDescriptionList, PFList];
58+
return [
59+
PFBase,
60+
PFPage,
61+
PFButton,
62+
PFGrid,
63+
PFContent,
64+
PFCard,
65+
PFDescriptionList,
66+
PFBanner,
67+
PFList,
68+
];
5869
}
5970

6071
constructor() {
@@ -121,6 +132,12 @@ export class KerberosSourceViewPage extends AKElement {
121132
this.load();
122133
}}
123134
>
135+
<div slot="header" class="pf-c-banner pf-m-info">
136+
${msg("Kerberos Source is in preview.")}
137+
<a href="mailto:hello+feature/[email protected]"
138+
>${msg("Send us feedback!")}</a
139+
>
140+
</div>
124141
<div class="pf-l-grid pf-m-gutter">
125142
<div class="pf-c-card pf-l-grid__item pf-m-12-col">
126143
<div class="pf-c-card__body">

web/src/admin/stages/authenticator_endpoint_gdtc/AuthenticatorEndpointGDTCStageForm.ts

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ import { msg } from "@lit/localize";
1010
import { TemplateResult, html } from "lit";
1111
import { customElement } from "lit/decorators.js";
1212

13+
import PFBanner from "@patternfly/patternfly/components/Banner/banner.css";
14+
1315
import { AuthenticatorEndpointGDTCStage, StagesApi } from "@goauthentik/api";
1416

1517
@customElement("ak-stage-authenticator-endpoint-gdtc-form")
@@ -33,8 +35,16 @@ export class AuthenticatorEndpointGDTCStageForm extends BaseStageForm<Authentica
3335
}
3436
}
3537

38+
static get styles() {
39+
return super.styles.concat(PFBanner);
40+
}
41+
3642
renderForm(): TemplateResult {
37-
return html` <span>
43+
return html`<div class="pf-c-banner pf-m-info">
44+
${msg("Endpoint Google Chrome Device Trust is in preview.")}
45+
<a href="mailto:hello+feature/[email protected]">${msg("Send us feedback!")}</a>
46+
</div>
47+
<span>
3848
${msg(
3949
"Stage used to verify users' browsers using Google Chrome Device Trust. This stage can be used in authentication/authorization flows.",
4050
)}

website/docs/add-secure-apps/flows-stages/stages/authenticator_endpoint_gdtc/index.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ title: Endpoint Authenticator Google Device Trust Connector Stage
33
---
44

55
<span class="badge badge--primary">Enterprise</span>
6+
<span class="badge badge--preview">Preview</span>
67
<span class="badge badge--version">authentik 2024.10+</span>
78

89
---

website/docs/add-secure-apps/providers/entra/add-entra-provider.md

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,12 @@ title: Add an Entra ID provider
33
---
44

55
<span class="badge badge--primary">Enterprise</span>
6+
<span class="badge badge--preview">Preview</span>
67

78
---
89

910
For more information about using an Entra ID provider, see the [Overview](./index.md) documentation.
1011

11-
:::info
12-
This feature is in technical preview, so please report any bugs on [GitHub](https://github.com/goauthentik/authentik/issues).
13-
:::
14-
1512
## Prerequisites
1613

1714
To create an Entra ID provider provider in authentik, you must have already [configured Entra ID](./setup-entra.md) to integrate with authentik. You will need to obtain from Entra three values: the Application (client) ID, the Directory (tenant) ID, and the Client secret. When adding an Entra ID provider in authentik, you must provide these values.

website/docs/add-secure-apps/providers/entra/index.md

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,10 @@ title: Microsoft Entra ID provider
33
---
44

55
<span class="badge badge--primary">Enterprise</span>
6+
<span class="badge badge--preview">Preview</span>
67

78
---
89

9-
:::info
10-
This feature is in technical preview, so please report any bugs on [GitHub](https://github.com/goauthentik/authentik/issues).
11-
:::
12-
1310
With the Microsoft Entra ID provider, authentik serves as the single source of truth for all users and groups. Configuring Entra ID as a provider allows for auto-discovery of user and group accounts, on-going synchronization of user data such as email address, name, and status, and integrated data mapping of field names and values.
1411

1512
- For instructions to configure your Entra ID tenant to integrate with authentik, refer to [Configure Entra ID](./setup-entra.md).

website/docs/add-secure-apps/providers/gws/add-gws-provider.md

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,10 @@ title: Create a Google Workspace provider
33
---
44

55
<span class="badge badge--primary">Enterprise</span>
6+
<span class="badge badge--preview">Preview</span>
67

78
---
89

9-
:::info
10-
This feature is in technical preview, so please report any bugs on [GitHub](https://github.com/goauthentik/authentik/issues).
11-
:::
12-
1310
For more information about using a Google Workspace provider, see the [Overview](./index.md) documentation.
1411

1512
## Prerequisites

0 commit comments

Comments
 (0)