Working with Documents

Documents are the core of R's DocManager. This guide covers everything from creation to access control.

Creating documents

Upload mode

Drag and drop a file or click to browse. Supported formats:

  • PDF with full text extraction
  • DOCX (Microsoft Word)
  • TXT (plain text)
  • CSV (tabular data)
  • Markdown (.md files)
  • HTML, JSON, RTF, ODT (text extraction)
  • XLSX, PPTX (upload and download only)

Maximum file size is 50 MB.

When you upload a parseable file (DOCX, TXT, MD, HTML, JSON, RTF, ODT), the text content is automatically extracted and stored. This enables full-text search, AI actions, and formatted viewing.

Write mode

Use the built-in rich text editor with:

  • Formatting toolbar: headings, bold, italic, code, quotes, lists, links, images, tables
  • Three view modes: Write, Preview, or Split
  • Live preview with character, word, and line counts
  • RAG Import: import text from DOCX, TXT, MD, HTML, JSON, RTF, or ODT files directly into the editor

Document properties

PropertyOptionsDescription
TitleFree textRequired. The document name
DescriptionFree textOptional brief description
TagsFree-form labelsKeywords for search and organization
StatusDraft, Under Review, Published, ArchivedControls visibility in listing tabs
ClassificationOrganization, Public, Internal, Confidential, GeneralWho can see the document
Access LevelView Only, Comment, Edit, Full AccessWhat viewers can do with the document
PasswordOptional 9-digit codeLocks the document from viewing
ReviewersAdmin/Super Admin usersRequired when status is Under Review
ReferencesLink to other documentsCross-reference related documents

Viewing documents

Click any document to see its detail page with:

  • Full content rendered with markdown formatting
  • Metadata: creation date, author, organization, classification, tags
  • Reference number (DOC-XXXXX)
  • AI action buttons
  • Comment thread

Classification Explained

ClassificationVisibility
OrganizationOnly visible to members of the same organization
PublicVisible to everyone, including other organizations
InternalRestricted to internal team use
ConfidentialHighly restricted access
GeneralDefault, no special restrictions

Default Classification by Role

  • God: defaults to Public
  • Super Admin: defaults to Organization
  • Admin: defaults to Organization
  • User: defaults to Organization

Access Levels

LevelCan ViewCan CommentCan Edit
View OnlyYesNoNo
CommentYesYesNo
EditYesYesYes (non-uploaded docs)
Full AccessYesYesYes

When a document is set to View Only, the Comments button is hidden entirely.

Password-protected documents

  • A lock icon appears on protected document cards
  • Enter the correct password to view content
  • God-role users bypass password protection

Document Status and Tabs

TabWhat It Shows
PublishedDocuments with status "published"
DraftsOnly your own draft documents
ReviewAll documents with status "under_review" visible to you
ArchivedOnly your own archived documents
For MeDocuments where you are assigned as a reviewer

Status transitions: any status can be changed to any other status by the document owner or authorized users.

Document Viewers

PDF Viewer

PDFs are displayed in a full-height embedded iframe with zoom and page navigation. A download button is always available.

Word Document Viewer (DOCX/DOC)

Word documents show a blue info banner indicating it is an extracted text view. The extracted content is rendered as formatted Markdown below. Download the original file for full formatting.

Markdown Viewer

Markdown files show a purple banner and are rendered with full formatting: headings, bold, italic, code blocks, tables, links, images, and more.

Plain Text Viewer

Plain text files show an info banner and display the content directly.

Other Formats

If text was extracted during upload, it is rendered as Markdown. If no content was extracted (legacy uploads), a notice with a download button is shown.

Reviewers

When setting a document's status to Under Review, you must assign at least one reviewer. Only admins and super admins from your organization can be selected as reviewers.

Reviewers see assigned documents in their "For Me" tab with a badge count.

Document References

Documents can reference other documents within your organization (or public documents for God users). Referenced documents appear as links in the document detail sidebar.

Password Protection

  • Toggle password protection when creating or editing a document
  • Uses a 9-digit numeric code, hashed with bcrypt
  • Users must enter the correct code to view the document
  • Document owners always have access without entering the code
  • God-role users bypass password protection

Deleting Documents

WhoCan Delete
OwnerAlways their own documents
AdminOwn docs and any User's docs
Super AdminOwn docs, User's docs, and Admin's docs
GodOwn docs and any public document

When a document is deleted, the file is also removed from storage.

God Multi-Organization Documents

When God creates a document:

  • Select "All Orgs" to post to every organization, or select specific ones
  • One copy is created per organization, but the file is uploaded only once to storage
  • When God changes a document's status (e.g., draft to published), all copies across organizations are updated together
  • Each organization sees the document in their own listing

AI Actions

Available on any document with content:

ActionDescription
SummarizeGenerate a concise summary
AnalyzeDeep content analysis
Improve WritingEnhance clarity and style
Generate InsightsExtract key insights
Extract KeywordsIdentify important terms
TranslateTranslate to another language
Q&AAsk questions about the document

Free Local Tools (No API Key Required)

ToolDescription
Word CountWords, characters, sentences, paragraphs
StructureHeadings and key phrases detection
PreviewFirst 500 characters of extracted text

Comments

Comments are available on documents with access level Comment, Edit, or Full Access. The comment sheet opens from the document header.

  • View all comments with timestamps and usernames
  • Post new comments (Ctrl+Enter to send)
  • Delete your own comments (or any comment if Admin+)
  • View Only documents do not show the comment button

See also

  • Pages — a lighter, editor-first alternative for notes and collaborative writing