document_page_approval
Adds an approval workflow to document pages so edits are reviewed and only approved versions are shown by default.
Key Features
- document.page: Pages can require approval, storing approver group, approved user, and approval date while inheriting requirements from parent categories.
- document.page: Editors see indicators for pending approvals or existing drafts and can open change request lists from the page.
- document.page.history: Change requests progress through draft, pending approval, approved, or cancelled states with owner and approver permission checks.
- document.page.history: Approval requests notify designated approvers via subscriptions and email, include computed page URLs and diffs, and auto-approve when review is not required.
- document.page.history: Approving a request records the approver and date, updates the page head version, and posts chatter messages about the new approved content.
- security: Approver-specific group and record rules grant editors, approvers, and managers the right levels of access to change requests.
- ui: Forms and list views add approval buttons, status bars, filters, and change request menu entries plus alerts showing when pages need approval or have pending changes.
- deployment: Post-install marks existing histories approved and uninstall removes any unapproved change requests.