Skip to main content

Users

Blog Builder manages users and admin permissions through the Users section of the admin panel.

Admin Panel

  • Location: Admin Panel > Users (/admin/users)
  • Required permission: viewUsers (to view), plus additional permissions for actions

How Accounts Are Created

Accounts are created automatically the first time an email address successfully completes the login flow. There is no manual registration step, anyone who receives a valid login code and enters it gets an account.

Email addresses listed in the OWNERS environment variable automatically receive the owner permission on first account creation.

User Fields

Each user account has:

  • Email address
  • Username (derived from email on creation)
  • Join date
  • Admin permissions list
  • Ban status (with reason and date if banned)
  • Disabled status
  • Internal notes (admin-only)

Admin Actions

ActionRequired PermissionNotes
View user listviewUsers
Ban usermanageUsersCannot ban owners or your own account
Unban usermanageUsers
Disable usermanageUsersPrevents login without banning
Enable usermanageUsers
Add/edit user notemanageUsers
Assign/revoke permissionsmanageStaff or ownerSubject to delegation rules below
Email useremailUser

Permission System

All admin permissions are listed below. Permissions are additive, a user only has access to what they are explicitly granted.

PermissionAccess Granted
ownerFull admin access. Bypasses all permission checks. Set via OWNERS env var only (cannot be assigned via the UI).
viewUsersView the user list and user profiles
manageUsersBan, unban, disable, enable users, and add notes
banUserBan users
disableUserDisable users
emailUserSend a direct email to a user
manageStaffAssign and revoke permissions on other users (subject to delegation rules)
viewInsightsView the analytics dashboard
manageThemeEdit theme, custom CSS, and background settings
manageSettingsEdit general site settings (navbar, footer, email, SEO, policies, redirects)
managePagesManage landing page, custom pages, gallery, and team
manageFormsManage forms and view/export submissions
manageBlogsCreate, edit, and manage blog posts
viewLogsView the audit log and error log
warning

The owner permission is only granted automatically via the OWNERS environment variable.

Permission Assignment Rules

  • An owner can assign or revoke any permission on any non-owner user
  • A user with manageStaff can assign or revoke permissions that they themselves hold, with one exception: they cannot assign or revoke manageStaff itself
  • A user cannot modify their own permissions
  • Owners cannot be banned, disabled, or have permissions modified by non-owners

Audit & Error Logs

All admin actions are recorded in the audit log, viewable at Admin Panel > Logs. The audit log is pruned to a maximum of 5,000 entries. Requires the viewLogs permission.