Repository navigation
Conversation
70f718d to
8fa67b5
Compare
|
This looks good, @stianst. I am glad you are retaining the .Procedure heading. That makes it easier for a script for downstream files to add the content type to any file with that heading as follows: :_mod-docs-content-type: PROCEDURE |
c7b17a6 to
95a36a3
Compare
95a36a3 to
e528681
Compare
|
PR to add authorization services to the website: keycloak/keycloak-web#853 |
e528681 to
414856b
Compare
There was a problem hiding this comment.
🟡 Changes recommended
The migration leaves a stale test registry entry that breaks clean-build documentation tests, along with broken links to retired pages and mismatched or malformed section fragments.
3 open issues
What changed in this PR
Converts Authorization Services documentation from the legacy book structure to Keycloak’s guide format, addressing #55481 without changing server behavior.
Changes:
- Organizes documentation into guides for concepts, configuration, policies, permissions, and enforcement.
- Adds guide rendering, cross-guide link support, shared attributes, and image assets.
- Removes legacy documentation sources and their Maven build, test dependency, and packaging entries.
| File | Description |
|---|---|
| docs/guides/templates/links.adoc | Adds custom link titles and Authorization Services links. |
| docs/guides/pom.xml | Adds Authorization Services HTML generation. |
| docs/guides/images/keycloak_logo.png | Adds a guide image asset. |
| docs/guides/images/getting-started/hello-world/create-scope.png | Adds a scope-creation screenshot. |
| docs/guides/authorization-services/resources.adoc | Converts resource management into a guide. |
| docs/guides/authorization-services/resource-server.adoc | Consolidates resource-server configuration instructions. |
| docs/guides/authorization-services/policy-evaluation-tool.adoc | Converts policy testing into a guide. |
| docs/guides/authorization-services/policy-enforcers.adoc | Consolidates enforcement and JavaScript integration documentation. |
| docs/guides/authorization-services/policies.adoc | Consolidates policy types and evaluation APIs. |
| docs/guides/authorization-services/permissions.adoc | Consolidates permission configuration and decision strategies. |
| docs/guides/authorization-services/overview.adoc | Combines concepts, architecture, and terminology. |
| docs/guides/authorization-services/index.adoc | Assembles the combined guide. |
| docs/guides/authorization-services/getting-started.adoc | Converts quickstart references into a guide. |
| docs/guides/attributes.adoc | Adds JavaScript provider and JavaDoc links. |
| docs/documentation/tests/pom.xml | Removes the legacy documentation dependency. |
| docs/documentation/pom.xml | Removes the legacy module from the build. |
| docs/documentation/authorization_services/topics/service-rpt-token-introspection.adoc | Removes the legacy token-introspection topic. |
| docs/documentation/authorization_services/topics/service-rpt-overview.adoc | Removes the legacy requesting-party-token overview. |
| docs/documentation/authorization_services/topics/service-protection-whatis-obtain-pat.adoc | Removes the legacy protection-token topic. |
| docs/documentation/authorization_services/topics/service-protection-resources-api-papi.adoc | Removes the legacy resource API topic. |
| docs/documentation/authorization_services/topics/service-protection-protection-api.adoc | Removes the legacy Protection API overview. |
| docs/documentation/authorization_services/topics/service-protection-policy-api.adoc | Removes the legacy Policy API topic. |
| docs/documentation/authorization_services/topics/service-protection-permission-api-papi.adoc | Removes the legacy permission-request API topic. |
| docs/documentation/authorization_services/topics/service-overview.adoc | Removes the legacy service overview. |
| docs/documentation/authorization_services/topics/service-authorization-uma-submiting-permission-requests.adoc | Removes the legacy permission-submission topic. |
| docs/documentation/authorization_services/topics/service-authorization-uma-authz-process.adoc | Removes the legacy UMA authorization-flow topic. |
| docs/documentation/authorization_services/topics/service-authorization-uma-account-my-resources.adoc | Removes the legacy user-resource sharing topic. |
| docs/documentation/authorization_services/topics/service-authorization-pushing-claims.adoc | Removes the legacy claims-submission topic. |
| docs/documentation/authorization_services/topics/service-authorization-obtaining-permission.adoc | Removes the legacy permission-request reference. |
| docs/documentation/authorization_services/topics/service-authorization-obtaining-permission-uma.adoc | Removes the legacy UMA overview. |
| docs/documentation/authorization_services/topics/service-authorization-obtaining-permission-authentication.adoc | Removes the legacy client-authentication topic. |
| docs/documentation/authorization_services/topics/service-authorization-discovery-document.adoc | Removes the legacy endpoint-discovery topic. |
| docs/documentation/authorization_services/topics/resource-view.adoc | Moves resource-list documentation into the resources guide. |
| docs/documentation/authorization_services/topics/resource-server-overview.adoc | Moves the overview into the resource-server guide. |
| docs/documentation/authorization_services/topics/resource-server-import-config.adoc | Moves configuration import/export into the resource-server guide. |
| docs/documentation/authorization_services/topics/resource-server-enable-authorization.adoc | Moves authorization setup into the resource-server guide. |
| docs/documentation/authorization_services/topics/resource-server-create-client.adoc | Moves client creation into the resource-server guide. |
| docs/documentation/authorization_services/topics/resource-overview.adoc | Moves introductory content into the resources guide. |
| docs/documentation/authorization_services/topics/policy-user-policy.adoc | Moves user policies into the policies guide. |
| docs/documentation/authorization_services/topics/policy-time-policy.adoc | Moves time policies into the policies guide. |
| docs/documentation/authorization_services/topics/policy-role-policy.adoc | Moves role policies into the policies guide. |
| docs/documentation/authorization_services/topics/policy-role-policy-required-role.adoc | Moves required-role configuration into the policies guide. |
| docs/documentation/authorization_services/topics/policy-regex-policy.adoc | Moves regex policies into the policies guide. |
| docs/documentation/authorization_services/topics/policy-overview.adoc | Moves policy-management basics into the policies guide. |
| docs/documentation/authorization_services/topics/policy-logic.adoc | Moves policy logic into the policies guide. |
| docs/documentation/authorization_services/topics/policy-js-policy.adoc | Moves JavaScript policies into the policies guide. |
| docs/documentation/authorization_services/topics/policy-group-policy.adoc | Moves group policies into the policies guide. |
| docs/documentation/authorization_services/topics/policy-group-policy-extend-children.adoc | Moves child-group access into the policies guide. |
| docs/documentation/authorization_services/topics/policy-evaluation-api.adoc | Moves evaluation APIs into the policies guide. |
| docs/documentation/authorization_services/topics/policy-client-scope-policy.adoc | Moves client-scope policies into the policies guide. |
| docs/documentation/authorization_services/topics/policy-client-scope-policy-required-client-scope.adoc | Moves required-scope configuration into the policies guide. |
| docs/documentation/authorization_services/topics/policy-client-policy.adoc | Moves client policies into the policies guide. |
| docs/documentation/authorization_services/topics/policy-aggregated-policy.adoc | Moves aggregated policies into the policies guide. |
| docs/documentation/authorization_services/topics/permission-typed-resource-permission.adoc | Moves typed-resource permissions into the permissions guide. |
| docs/documentation/authorization_services/topics/permission-overview.adoc | Moves permission-management basics into the permissions guide. |
| docs/documentation/authorization_services/topics/permission-decision-strategy.adoc | Moves decision strategies into the permissions guide. |
| docs/documentation/authorization_services/topics/permission-create-scope.adoc | Moves scope permissions into the permissions guide. |
| docs/documentation/authorization_services/topics/permission-create-resource.adoc | Moves resource permissions into the permissions guide. |
| docs/documentation/authorization_services/topics/enforcer-overview.adoc | Moves enforcement concepts into the policy-enforcers guide. |
| docs/documentation/authorization_services/topics/auth-services-terminology.adoc | Moves terminology into the overview guide. |
| docs/documentation/authorization_services/topics/auth-services-overview.adoc | Moves introductory content into the overview guide. |
| docs/documentation/authorization_services/topics/auth-services-architecture.adoc | Moves architecture into the overview guide. |
| docs/documentation/authorization_services/topics.adoc | Removes the legacy topic assembly. |
| docs/documentation/authorization_services/pom.xml | Removes the legacy documentation module. |
| docs/documentation/authorization_services/index.adoc | Removes the legacy book entry point. |
| docs/documentation/authorization_services/.asciidoctorconfig | Removes legacy image-preview configuration. |
| docs/documentation/aggregation/pom.xml | Removes legacy documentation packaging. |
Review effort: Balanced
414856b to
f23dc07
Compare
Closes keycloak#55481 Signed-off-by: stianst <stianst@gmail.com>
f23dc07 to
a416c89
Compare
There was a problem hiding this comment.
🟡 Changes recommended
The documentation leaves all five prerequisite links with unresolved placeholders and directs the Permissions link to the policies page instead of the permissions guide.
2 open issues
3 resolved since last review
Review effort: Balanced
| :authorizationguide_link_latest: {project_doc_base_url_latest}/authorization_services/ | ||
| :authorizationguide_link: https://www.keycloak.org/guides#authorization-services | ||
| :authorizationguide_policies_link: https://www.keycloak.org/authorization-services/policies | ||
| :authorizationguide_permissions_link: https://www.keycloak.org/authorization-services/policies |
| . link:{authorizationguide_resource_server_enable_authorization_link}[A client with authorization enabled] -- The client whose access token is used to authenticate AuthZEN requests must have *Authorization Enabled* in its settings. | ||
| . link:{authorizationguide_resource_create_link}[Resources] -- Define resources in the client's *Authorization* -> *Resources* section. The resource name maps to the `resource.id` in AuthZEN requests, and the resource type maps to `resource.type`. | ||
| . link:{authorizationguide_resource_create_link}[Scopes] -- Define scopes in the client's *Authorization* -> *Scopes* section. Scope names map to the `action.name` in AuthZEN requests. | ||
| . link:{authorizationguide_policies_link}[Policies] and link:{authorizationguide_permissions_link}[Permissions] -- Create policies and permissions that associate resources and scopes with authorization decisions. |
Closes #55481
Signed-off-by: stianst stianst@gmail.com