🔍 Code Extractor

Search Components

Full-Text: Fast keyword matching | Semantic: AI-powered understanding of intent (finds similar concepts)

Search Results for "docuser"

Found 50 matching component(s)

  • function create_document

    Creates a new controlled document in a document management system with versioning, audit trails, and optional initial content.

    File: /tf/active/vicechatdev/document_controller_backup.py

    document-management controlled-documents document-creation versioning audit-trail
  • function search_documents

    Searches for documents in a Neo4j graph database based on multiple optional filter criteria including text query, document type, department, status, and owner.

    File: /tf/active/vicechatdev/document_controller_backup.py

    search documents neo4j cypher database-query
  • function delete_document

    Deletes a controlled document from the system with permission checks, status validation, and audit logging.

    File: /tf/active/vicechatdev/document_controller_backup.py

    document-management deletion controlled-documents audit-trail permissions
  • function create_document_v1

    Creates a new version of an existing document in a document management system, storing the file in FileCloud and tracking version metadata in Neo4j graph database.

    File: /tf/active/vicechatdev/document_controller_backup.py

    document-management version-control filecloud neo4j graph-database
  • function download_document_version

    Downloads a specific version of a controlled document from FileCloud storage, with optional audit trail and watermark inclusion, and logs the download event.

    File: /tf/active/vicechatdev/document_controller_backup.py

    document-management file-download version-control audit-trail watermark
  • function set_current_version

    Sets a specific version of a controlled document as the current/active version, updating the document's currentVersionUID property and logging the change.

    File: /tf/active/vicechatdev/document_controller_backup.py

    document-management version-control controlled-documents audit-trail permissions
  • function publish_document

    Publishes an approved controlled document by converting it to PDF with signatures and audit trail, uploading to FileCloud, and updating the document status to PUBLISHED.

    File: /tf/active/vicechatdev/document_controller_backup.py

    document-management publishing pdf-conversion audit-trail controlled-documents
  • function convert_document_to_pdf_v1

    Converts a document version from an editable format (e.g., Word) to PDF without changing the document's status, uploading the result to FileCloud and updating the version record.

    File: /tf/active/vicechatdev/document_controller_backup.py

    document-conversion pdf-generation filecloud controlled-documents document-management
  • function archive_document_v1

    Archives a controlled document by changing its status to ARCHIVED, ensuring a PDF version exists and logging the action with audit trail and notifications.

    File: /tf/active/vicechatdev/document_controller_backup.py

    document-management lifecycle archive controlled-documents audit-trail
  • function get_document_edit_url

    Generates an online editing URL for a document stored in FileCloud, allowing users to edit documents that are in editable states.

    File: /tf/active/vicechatdev/document_controller_backup.py

    document-management filecloud url-generation permission-control version-control
  • function update_document

    Updates properties of a controlled document including title, description, status, owner, and metadata, with special handling for status transitions that require format conversions or publishing workflows.

    File: /tf/active/vicechatdev/document_controller_backup.py

    document-management update controlled-document status-transition audit-trail
  • function clone_document_v1

    Clones an existing controlled document to create either a new independent document or a new revision of the same document, optionally including the document's content.

    File: /tf/active/vicechatdev/document_controller_backup.py

    document-management cloning versioning controlled-documents revision-control
  • function get_documents_v1

    Retrieves filtered and paginated documents from a Neo4j graph database with permission-based access control, supporting multiple filter criteria and search functionality.

    File: /tf/active/vicechatdev/document_controller_backup.py

    document-management neo4j graph-database filtering pagination
  • function create_audit_entry

    Creates an audit trail entry for document actions, logging user activity, document changes, and lifecycle events with fallback mechanisms.

    File: /tf/active/vicechatdev/document_controller_backup.py

    audit logging document-management compliance tracking
  • class DocumentDetail

    Document detail view component

    File: /tf/active/vicechatdev/document_detail_backup.py

    class documentdetail
  • class DocumentDetail_v1

    Document detail view component

    File: /tf/active/vicechatdev/document_detail_old.py

    class documentdetail
  • class FlaskUser

    A Flask-Login compatible user wrapper class that adapts CDocs DocUser objects for authentication and authorization in Flask applications.

    File: /tf/active/vicechatdev/CDocs/main_flask.py

    authentication authorization flask-login user-management rbac
  • class ControlledDocumentFlaskApp

    Main Flask application class for Controlled Document Management System.

    File: /tf/active/vicechatdev/CDocs/main_flask.py

    class controlleddocumentflaskapp
  • function get_admin_user

    Retrieves an admin user from a Neo4j database by querying for a specific email address and returns a DocUser object for document creation operations.

    File: /tf/active/vicechatdev/CDocs/FC_sync.py

    database neo4j user-management admin document-management
  • function create_controlled_document

    Creates a new controlled document node in a graph database with metadata, establishes relationships with the CDocs root node, and returns a ControlledDocument instance.

    File: /tf/active/vicechatdev/CDocs/FC_sync.py

    document-management controlled-documents graph-database neo4j document-creation
  • function import_document_from_filecloud

    Imports a document from FileCloud into the system by extracting metadata, creating a controlled document record, downloading the file content, creating a document version, and uploading it back to FileCloud with proper folder structure.

    File: /tf/active/vicechatdev/CDocs/FC_sync.py

    document-management filecloud import file-upload metadata
  • class ControlledDocumentApp

    Main application class for the Controlled Document Management System. This class initializes all components and provides the main Panel interface for the application. It is designed to be served via `panel serve` command and integrates with the existing datacapture application.

    File: /tf/active/vicechatdev/CDocs/main.py

    class controlleddocumentapp
  • class DocumentVersion_v1

    Model representing a specific version of a controlled document.

    File: /tf/active/vicechatdev/CDocs/models/document.py

    class documentversion
  • class ControlledDocument

    Model representing a controlled document.

    File: /tf/active/vicechatdev/CDocs/models/document.py

    class controlleddocument
  • class ApprovalComment

    Model class representing a comment made during a document approval cycle, with support for resolution tracking and database persistence.

    File: /tf/active/vicechatdev/CDocs/models/approval_bis.py

    approval comment document-workflow database-model graph-database
  • class ApprovalCycle

    Model representing an approval cycle for a document version.

    File: /tf/active/vicechatdev/CDocs/models/approval_bis.py

    class approvalcycle
  • class ApproverAssignment

    Model class representing an approver assignment within an approval cycle, managing the relationship between an approver and their approval task including status, decisions, and lifecycle tracking.

    File: /tf/active/vicechatdev/CDocs/models/approval_bis.py

    approval-workflow assignment-management database-model status-tracking decision-tracking
  • class ApprovalComment_v1

    A model class representing a comment made during a document approval cycle, with support for resolution tracking and database persistence.

    File: /tf/active/vicechatdev/CDocs/models/approval.py

    approval comment document-management workflow resolution-tracking
  • class ApprovalCycle_v1

    Model representing a approval cycle for a document version.

    File: /tf/active/vicechatdev/CDocs/models/approval.py

    class approvalcycle
  • class ReviewComment

    A model class representing a comment made during document review, with support for resolution tracking and database persistence.

    File: /tf/active/vicechatdev/CDocs/models/review.py

    review comment document-management database neo4j
  • class ReviewCycle

    Model representing a review cycle for a document version.

    File: /tf/active/vicechatdev/CDocs/models/review.py

    class reviewcycle
  • class DocUser

    Extended User model for document management system. This class wraps and extends the existing User model in the system, adding document-specific roles, departments, and permissions.

    File: /tf/active/vicechatdev/CDocs/models/user_extensions.py

    class docuser
  • function _sanitize_properties

    Sanitizes a dictionary of properties to ensure compatibility with Neo4j by converting complex objects to primitive types, extracting UIDs from DocUser objects, and preserving datetime objects.

    File: /tf/active/vicechatdev/CDocs/db/db_operations.py

    neo4j data-sanitization type-conversion graph-database property-mapping
  • function create_user

    Creates a new user in the system with validation, password hashing, and role assignment, including CDocs user extension setup.

    File: /tf/active/vicechatdev/CDocs/controllers/admin_controller.py

    user-management authentication database validation password-hashing
  • function update_user

    Updates an existing user's information in a Neo4j database, including profile fields, password, and role assignments.

    File: /tf/active/vicechatdev/CDocs/controllers/admin_controller.py

    user-management database-update neo4j authentication role-management
  • function get_all_documents

    Retrieves all controlled documents from a Neo4j graph database with their associated owner information, formatted for administrative management interfaces.

    File: /tf/active/vicechatdev/CDocs/controllers/admin_controller.py

    database neo4j document-management admin query
  • function get_audit_trail

    Retrieves audit trail events from a Neo4j database with optional filtering by date range, action type, and user, returning a list of audit event dictionaries.

    File: /tf/active/vicechatdev/CDocs/controllers/admin_controller.py

    audit logging admin database neo4j
  • function create_approval_cycle_v1

    Creates a new approval cycle for a controlled document, managing approver assignments, permissions, notifications, and audit logging.

    File: /tf/active/vicechatdev/CDocs/controllers/approval_controller.py

    approval-workflow document-management access-control permissions audit-trail
  • function get_user_assigned_approvals_v1

    Retrieves all approval assignments for a specific user with optional filtering by status, including associated approval cycles, documents, and version information.

    File: /tf/active/vicechatdev/CDocs/controllers/approval_controller.py

    approval-workflow document-management user-assignments pagination controller
  • function add_approval_comment

    Adds a comment to an approval cycle for a controlled document, with support for threaded comments, different comment types, and automatic notifications to relevant stakeholders.

    File: /tf/active/vicechatdev/CDocs/controllers/approval_controller.py

    approval comment document-management collaboration permissions
  • function update_approval_comment

    Updates an approval comment's text and/or status with permission checks, audit logging, and notifications for resolved comments.

    File: /tf/active/vicechatdev/CDocs/controllers/approval_controller.py

    approval-workflow comment-management permission-control audit-logging notification
  • function complete_approval

    Completes an approval cycle by recording a user's approval decision (APPROVED, REJECTED, etc.) and managing the approval workflow, including sequential approver activation and final cycle completion.

    File: /tf/active/vicechatdev/CDocs/controllers/approval_controller.py

    approval workflow document-management decision-tracking permissions
  • function close_approval_cycle

    Closes a completed approval cycle and optionally updates the associated document's status, with permission checks, audit logging, and notifications.

    File: /tf/active/vicechatdev/CDocs/controllers/approval_controller.py

    approval-management document-workflow permission-control status-transition audit-logging
  • function cancel_approval_cycle

    Cancels an active approval cycle for a controlled document, updating the approval status, notifying approvers, and reverting the document to DRAFT status if no other active approvals exist.

    File: /tf/active/vicechatdev/CDocs/controllers/approval_controller.py

    approval-management document-control workflow cancellation permissions
  • function extend_approval_deadline

    Extends the deadline for an active approval cycle, validating permissions and business rules, then notifying affected approvers.

    File: /tf/active/vicechatdev/CDocs/controllers/approval_controller.py

    approval-management deadline-extension document-control permission-check audit-trail
  • function add_approver_to_active_approval

    Adds a new approver to an active approval cycle for a controlled document, with optional sequence ordering and custom instructions.

    File: /tf/active/vicechatdev/CDocs/controllers/approval_controller.py

    approval-workflow document-management access-control permissions notifications
  • function remove_approver_from_active_approval

    Removes an approver from an active approval cycle with permission checks, validation, and notification handling.

    File: /tf/active/vicechatdev/CDocs/controllers/approval_controller.py

    approval-management document-control permission-check workflow audit-trail
  • function get_user_pending_approvals

    Retrieves all pending approval assignments for a specific user, with optional filtering by completion status and date range, returning structured approval data for UI display.

    File: /tf/active/vicechatdev/CDocs/controllers/approval_controller.py

    approval-management user-approvals document-workflow pagination date-filtering
  • function check_document_permissions_on_startup_v1

    Performs a system-wide startup check to verify and update document permissions for all documents in the system, ensuring permissions align with document status.

    File: /tf/active/vicechatdev/CDocs/controllers/permission_startup_check.py

    startup permissions document-management audit system-initialization
  • function manage_document_permissions

    Comprehensive function to manage document sharing and user permissions. This function: 1. Creates a share only if needed for active users 2. Adds/updates users with appropriate permissions based on their roles 3. Removes users who shouldn't have access anymore 4. Cleans up shares that are no longer needed 5. Manages ACL entries for write permissions on the document's folder Args: document: The document to manage permissions for Returns: Dict: Result of permission updates with detailed information

    File: /tf/active/vicechatdev/CDocs/controllers/share_controller.py

    function manage_document_permissions

Search Examples