🔍 Code Extractor

Search Components

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

Search Results for "sharing"

Found 32 matching component(s)

  • function get_document_v4

    Flask API endpoint that retrieves a specific document with its text and data sections, including optional sharing information, for authenticated users.

    File: /tf/active/vicechatdev/vice_ai/new_app.py

    api flask document-management rest-endpoint authentication
  • function add_existing_section_to_document

    Flask API endpoint that adds an existing text section to a document with advanced positioning options, copy creation, and access control validation.

    File: /tf/active/vicechatdev/vice_ai/new_app.py

    flask api-endpoint document-management text-section authentication
  • class Document

    A dataclass representing a document with hierarchical structure, versioning, metadata, and collaboration features.

    File: /tf/active/vicechatdev/vice_ai/models.py

    document-management dataclass versioning collaboration serialization
  • function initialize_system

    Initializes the CDocs document management system by setting up database connections, FileCloud integration, document sharing validation, and API routes.

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

    initialization system-startup database filecloud api-routes
  • 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 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 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 manage_user_share_access_v2

    Manages user access permissions to a FileCloud document share, creating shares if needed and setting read-only or write access for specified users.

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

    filecloud document-management access-control permissions sharing
  • function get_document_share_url

    Retrieves or creates a shareable URL for a specific document version, checking for existing shares before creating new ones.

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

    document-sharing url-generation filecloud document-management version-control
  • 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
  • function remove_user_access

    Removes a user's access permissions from a specific document version share in FileCloud by delegating to the FileCloud client's remove_user_from_share method.

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

    access-control document-management user-permissions filecloud security
  • function get_document_access

    Retrieves document access information for a specific user, including permissions (write access, owner, reviewer, approver status) and share URL.

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

    document-management access-control permissions api-endpoint authorization
  • function manage_user_share_access

    Manages user access permissions (read-only or edit) to a specific document version share in FileCloud, creating the share if it doesn't exist.

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

    filecloud document-sharing access-control permissions user-management
  • function create_document_share_link

    Creates a shareable link for a document in FileCloud with optional password protection, expiry, and email notifications.

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

    document-sharing filecloud access-control audit-logging file-management
  • function manage_user_share_access_v1

    Manages user access permissions to a FileCloud document share, creating the share if needed and setting read-only or write access for a specified user.

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

    document-management access-control file-sharing permissions filecloud
  • function create_document_v2

    Creates a new version of a controlled document by generating version metadata, storing the file in FileCloud, updating the document's revision number, and creating an audit trail entry.

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

    document-management version-control file-storage filecloud neo4j
  • function create_review_cycle

    Creates a new review cycle for a controlled document, assigning reviewers with optional sequential workflow, custom instructions, and approval requirements.

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

    document-management review-workflow approval-process permission-control audit-trail
  • function complete_review

    Completes a document review cycle by submitting a reviewer's decision (APPROVED/REJECTED), updating review status, managing sequential review workflows, and triggering notifications.

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

    document-management review-workflow approval-process permission-control sequential-workflow
  • function close_review_cycle

    Closes a completed review cycle for a controlled document, with optional document status update, permission validation, and stakeholder notifications.

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

    document-management review-cycle workflow permissions audit
  • function cancel_review_cycle

    Cancels an active review cycle for a controlled document, updating the review status, notifying reviewers, and reverting the document status if necessary.

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

    document-management review-cycle cancellation workflow permissions
  • function add_reviewer_to_active_review

    Adds a reviewer to an active review cycle with optional sequence ordering and instructions, handling permissions, notifications, and audit logging.

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

    document-management review-cycle reviewer-assignment permissions audit-logging
  • function remove_reviewer_from_active_review

    Removes a reviewer from an active review cycle, updating assignment status, adjusting sequential review orders if needed, logging the event, and notifying the removed reviewer.

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

    review-management reviewer-removal document-review permission-check audit-trail
  • class FileCloudIntegration

    Manages integration with FileCloud for document storage and metadata

    File: /tf/active/vicechatdev/CDocs/utils/filecloud_integration.py

    class filecloudintegration
  • function validate_and_fix_document_permissions

    Validates and optionally fixes document sharing permissions for controlled documents in a Neo4j database, processing documents in configurable batches with detailed progress tracking and error handling.

    File: /tf/active/vicechatdev/CDocs/utils/sharing_validator.py

    validation permissions document-management batch-processing neo4j
  • function check_document_permissions_on_startup

    Validates and fixes document permission issues during application startup, prioritizing active documents (DRAFT, IN_REVIEW, IN_APPROVAL) to ensure proper sharing permissions are configured.

    File: /tf/active/vicechatdev/CDocs/utils/sharing_validator.py

    startup initialization document-permissions validation permissions
  • class DocumentDashboard

    Dashboard for viewing and managing controlled documents.

    File: /tf/active/vicechatdev/CDocs/ui/document_dashboard.py

    class documentdashboard
  • class DocumentDetail_v2

    Document detail view component

    File: /tf/active/vicechatdev/CDocs/ui/document_detail.py

    class documentdetail
  • class SharePermissionIndicator

    A Panel-based visual indicator component that displays document sharing permissions, showing whether a user has write access or read-only access to a document with color-coded status indicators.

    File: /tf/active/vicechatdev/CDocs/ui/components/share_manager.py

    panel ui-component permissions access-control document-management
  • class DocumentShareManager

    A Panel-based UI component for managing document sharing permissions, displaying share URLs, and viewing user access information for controlled documents.

    File: /tf/active/vicechatdev/CDocs/ui/components/share_manager.py

    ui-component document-management sharing permissions panel

Search Examples