From 098ad07799076f0d5340f4e06da241ff9daf84fe Mon Sep 17 00:00:00 2001 From: Angel Date: Thu, 30 Jan 2025 17:36:07 -0500 Subject: [PATCH] Feat: Rbac into auth section (#350) * rbac moves to auth * remove from gateway entities page * changes --- app/_gateway_entities/admin.md | 2 +- app/_gateway_entities/group.md | 2 +- app/_gateway_entities/rbac.md | 2 +- .../{ => gateway}/authentication.yaml | 25 +++++++++++ app/_landing_pages/gateway/entities.yaml | 44 +++---------------- 5 files changed, 33 insertions(+), 42 deletions(-) rename app/_landing_pages/{ => gateway}/authentication.yaml (93%) diff --git a/app/_gateway_entities/admin.md b/app/_gateway_entities/admin.md index 6b793846f..f310c63a4 100644 --- a/app/_gateway_entities/admin.md +++ b/app/_gateway_entities/admin.md @@ -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: diff --git a/app/_gateway_entities/group.md b/app/_gateway_entities/group.md index 4bb2b84bb..053c9d252 100644 --- a/app/_gateway_entities/group.md +++ b/app/_gateway_entities/group.md @@ -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 diff --git a/app/_gateway_entities/rbac.md b/app/_gateway_entities/rbac.md index 60a1838e2..33b394f57 100644 --- a/app/_gateway_entities/rbac.md +++ b/app/_gateway_entities/rbac.md @@ -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 diff --git a/app/_landing_pages/authentication.yaml b/app/_landing_pages/gateway/authentication.yaml similarity index 93% rename from app/_landing_pages/authentication.yaml rename to app/_landing_pages/gateway/authentication.yaml index 9102ecd4f..8ef5d6fa6 100644 --- a/app/_landing_pages/authentication.yaml +++ b/app/_landing_pages/gateway/authentication.yaml @@ -4,6 +4,8 @@ metadata: description: An introduction to authentication with Kong. tags: - authentication + breadcrumbs: + - /gateway/ rows: - header: type: h1 @@ -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 diff --git a/app/_landing_pages/gateway/entities.yaml b/app/_landing_pages/gateway/entities.yaml index 2583157cc..8731fd517 100644 --- a/app/_landing_pages/gateway/entities.yaml +++ b/app/_landing_pages/gateway/entities.yaml @@ -49,6 +49,10 @@ rows: - type: entity_card config: entity: plugin + - blocks: + - type: entity_card + config: + entity: workspace - header: type: h2 @@ -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 \ No newline at end of file