Defining document workflows and approvals
✅ Defining Document Workflows and Approvals in BlueDocs
BlueDocs includes a flexible Document Workflow & Approval System that ensures documents follow the right review process before being published. This is especially important for SOPs, policies, training materials, and knowledge base articles where accuracy, compliance, and oversight are critical.
This guide explains how document approvals work, how to configure them, and how roles impact document publishing.
⚙️ Where to Configure Approval Workflows
You can define document workflows and approval rules in two main areas:
- Settings → Permissions Tab
- Role Permissions: Define what each role (Admin, Manager, Editor, Viewer) can do for each document type.
- Approval Workflows: Set which role must approve documents before publishing.
- Settings → Document Approvals Tab
- Manage pending approval requests
- Approve or reject documents
- Track approval history
🔐 How the Permission System Works
BlueDocs supports role-based access control for every document type (SOPs, Knowledge, Training, Policies).
Each role can have the ability to:
- Create
- View
- Edit
- Delete
- Publish
- Approve
- Assign
Key Distinctions:
- Publish = Directly publish content
- Approve = Review and authorize content to be published by others
🧱 Setting Up Approval Workflows
Go to: Settings → Permissions → Approval Workflows
You can assign a required approver role for each document type:
Document Type | Default Approver |
---|---|
SOPs | Manager |
Knowledge | Editor |
Training | Manager |
Policies | Admin |
Use the dropdown menus to change these at any time. Only users with the selected role (and “Approve” permission) will be notified when approval is requested.
📝 Document Creation & Approval Flow
🔹 For Users Without Publish Permission
- Can create and edit documents
- Cannot directly set status to “Published”
- Can only save documents as Draft
- See a “Request Approval” button
- Document stays in draft until it’s approved by the designated role
🔹 For Users With Publish Permission
- Can immediately publish documents without needing approval
- No approval flow is triggered
🚦 Approval Request Lifecycle
When a user requests approval:
- The system checks which role is required (e.g., Manager for SOPs)
- All users with that role get notified
- Approvers see the request in:
- Settings → Document Approvals
- Real-time in-app notifications
- Optional email notifications
- Approvers can:
- Approve → The document status changes to “Published”
- Reject → The requester is notified; the document remains in Draft
🔔 Real-Time Notifications
Approvers are notified in real time using BlueDocs’ integrated notification system:
- Browser notifications: Auto-updated in the interface
- Email alerts: Triggered based on user preferences
- Push notifications: Sent if browser allows
The system listens for changes via secure Supabase channels for immediate response handling.
🛠 How to Approve Documents
- Go to Settings → Document Approvals
- View pending requests
- Click on the document to review
- Add optional comments
- Click Approve or Reject
If approved, the document is auto-published. If rejected, the requester gets feedback and must revise before resubmitting.
🔄 Backend Logic (Advanced Overview)
This system is powered by secure backend functions:
manage-document-approvals
→ handles request lifecyclesmanage-permissions
→ governs who can approve/publishsend-email-notification
→ delivers email alertsmanage-organization-documents
→ enforces permission checks
Every action (draft, request, approval, publish) is logged and enforced by role.
✅ Summary
User Action | Without Publish | With Publish |
---|---|---|
Create Document | ✅ | ✅ |
Save Draft | ✅ | ✅ |
Request Approval | ✅ | ❌ |
Publish Immediately | ❌ | ✅ |
Approve/Reject | ❌ (unless role permits) | ✅ (if role has approve permission) |
💡 Best Practices
- Use Managers or Admins as approvers for high-impact docs (e.g., Policies)
- Encourage Editors to use Request Approval to maintain version control
- Review approval requests weekly to avoid content bottlenecks
- Combine with Role Permissions to ensure only trusted users can publish
Need help designing your approval process? Reach out to support or request a permissions audit for your workspace.
Updated on: 27/05/2025
Thank you!