Repository navigation
Conversation
Explain policy scopes, effective resolution, delegation, backend enforcement, frontend representation, compound policies, personal preferences, the extension path and the test layers. Refs LibreSign#112 Signed-off-by: Matheus Andrade <2002matheus@gmail.com>
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Resolves / related issue
Resolves #112
Summary and validation
Adds
developer_manual/architecture/policy-workbench.rst, a developer-facing description of the current Policy Workbench architecture. It follows the 11 sections requested in the issue: purpose, scopes, effective resolution, delegation, backend enforcement, frontend representation, compound policies, personal preferences, adding a new policy, testing expectations and related architecture.Also links the page from "Where to go next" in
developer_manual/architecture.rstand adds it to the developer manual toctree indeveloper_manual/index.rst(required so the page is not orphaned under-W). Nothing was moved or renamed.Scope and evidence:
LibreSign/libresignmainat5e1609de2(backendlib/Service/Policy/, frontendsrc/views/Settings/PolicyWorkbench/, and the PHPUnit, Vitest and Playwright tests).groups_request_signwhen unset) are intentionally left out.PolicySourceand its test.Checks run:
sphinx-build -W --keep-going developer_manual: 0 warnings.architecture.htmllinks to the new page.libresigncommit.git diff --stat: 3 files, no rename.Navigable preview
Preview link:
Changed page:
developer_manual/architecture/policy-workbench.html, plus the link indeveloper_manual/architecture.html. Screenshots of the rendered page (title, intro and navigation, and the full page) are attached below, as requested in the issue.01-top
02-architecture-link
03-mobile
Checklist