Add admin manual user creation and page edit approval workflow #16
No reviewers
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Public/noodlenook!16
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "copilot/add-manual-user-creation"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Adds ability for admins to directly create users with passwords, and implements a toggleable approval workflow where admin approval is required for editor page edits.
Backend Changes
User Creation (
routes/users.js)POST /api/usersendpoint for admin-only manual user creationApproval Workflow
pending_page_editstable tracks unapproved changesPUT /api/pages/:slugchecksapproval_workflow_enabledsetting:/api/pending-editsendpoints for list, view, approve, reject, delete operationsFrontend Changes
Admin Dashboard (
AdminDashboard.jsx)System Settings (
SettingsPage.jsx)Pending Edits Management
PendingEdits.jsx: table view with approve/reject actionsPendingEditDetail.jsx: side-by-side comparison (current vs proposed)PageEditor.jsxhandles approval response, redirects to pending editsExample Usage
Admin enables workflow:
Editor makes changes:
Admin reviews and approves:
Multiple edits to same page update existing pending edit to avoid duplicates.
Original prompt
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.