Skip to content

Commit

Permalink
Feat: Rbac into auth section (#350)
Browse files Browse the repository at this point in the history
* rbac moves to auth

* remove from gateway entities page

* changes
  • Loading branch information
Guaris authored Jan 30, 2025
1 parent f860279 commit 098ad07
Show file tree
Hide file tree
Showing 5 changed files with 33 additions and 42 deletions.
2 changes: 1 addition & 1 deletion app/_gateway_entities/admin.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ entities:
- admin

description: |
Admins can manage entities inside Workspaces, including Users and their Roles.
Admins can manage {{site.base_gateway}} entities inside Workspaces, including Users and their Roles.
related_resources:
Expand Down
2 changes: 1 addition & 1 deletion app/_gateway_entities/group.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ entities:
- group

description: |
Groups of RBAC users in {{site.base_gateway}}.
Groups are a resource for RBAC and can be used to assign Roles across sets of users.
related_resources:
- text: RBAC entity
Expand Down
2 changes: 1 addition & 1 deletion app/_gateway_entities/rbac.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ tools:
- admin-api
entities:
- rbac
description: The RBAC entity is what allows for the RBAC system to be administered.
description: RBAC manages {{site.base_gateway}} roles and permissions for Kong Manager and the Admin API.
schema:
api: gateway/admin-ee
path: /schemas/RBAC
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ metadata:
description: An introduction to authentication with Kong.
tags:
- authentication
breadcrumbs:
- /gateway/
rows:
- header:
type: h1
Expand All @@ -26,6 +28,29 @@ rows:
is a savings in compute time and development effort.
{{site.base_gateway}} has a library of plugins that support the most widely used methods of API gateway authentication.
- columns:
- blocks:
- type: structured_text
config:
header:
text: "Admin API Authentication"
- columns:
- blocks:
- type: entity_card
config:
entity: rbac
- blocks:
- type: entity_card
config:
entity: admin
- blocks:
- type: entity_card
config:
entity: group
- blocks:
- type: entity_card
config:
entity: workspace
- columns:
- blocks:
- type: structured_text
Expand Down
44 changes: 5 additions & 39 deletions app/_landing_pages/gateway/entities.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,10 @@ rows:
- type: entity_card
config:
entity: plugin
- blocks:
- type: entity_card
config:
entity: workspace

- header:
type: h2
Expand Down Expand Up @@ -78,42 +82,4 @@ rows:
- blocks:
- type: entity_card
config:
entity: key-set

- header:
type: h2
text: "Admin"

- columns:
- blocks:
- type: entity_card
config:
entity: rbac
- blocks:
- type: entity_card
config:
entity: admin
- blocks:
- type: entity_card
config:
entity: group

- columns:
- blocks:
- type: entity_card
config:
entity: workspace
- blocks:
- type: entity_card
config:
entity: license

- header:
type: h2
text: "Misc"
- columns:
- blocks:
- type: entity_card
config:
entity: event-hook

entity: key-set

0 comments on commit 098ad07

Please sign in to comment.