🔍 Code Extractor

Search Components

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

Search Results for "manage_document_permissions"

Found 23 matching component(s)

  • 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
  • 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 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
  • function update_reviewer_permissions

    Updates file access permissions for reviewers associated with a review cycle by delegating to the main document permission management function.

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

    permissions access-control review-cycle document-management reviewer
  • function update_approver_permissions

    Updates file access permissions for approvers when an approval cycle changes by delegating to the main document permission management function.

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

    permissions approval document-management access-control filecloud
  • function get_document_permissions

    Retrieves permission information for a specific document by its unique identifier, returning structured data about who can access the document and their permission levels.

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

    document-management permissions access-control api-endpoint error-handling
  • 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
  • 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
  • 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 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