🔍 Code Extractor

Search Components

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

Search Results for "roles"

Found 25 matching component(s)

  • class OneCo_hybrid_RAG_v2

    A class named OneCo_hybrid_RAG

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

    class oneco_hybrid_rag
  • class User

    A user management class that handles authentication, authorization, user profiles, preferences, file management, and logging for a Panel-based web application with Neo4j backend.

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

    authentication authorization user-management role-based-access-control neo4j
  • class ControlledDocApp

    A standalone Panel web application class that provides a complete controlled document management system with user authentication, navigation, and document lifecycle management features.

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

    panel web-application document-management authentication navigation
  • function extract_previous_reports_summary

    Extracts and summarizes key information from previous meeting report files using document extraction and OpenAI's GPT-4o-mini model to provide context for upcoming meetings.

    File: /tf/active/vicechatdev/leexi/app.py

    meeting-analysis document-extraction text-summarization llm openai
  • function get_instruction_templates

    Flask API endpoint that returns a dictionary of predefined instruction templates for different document types including SOPs, work instructions, quality forms, and document comparison guidelines.

    File: /tf/active/vicechatdev/docchat/app.py

    flask api endpoint templates instructions
  • function export_to_pdf_v1

    Flask route handler that exports a chat conversation to a PDF file with formatted messages, roles, and references using the reportlab library.

    File: /tf/active/vicechatdev/docchat/app.py

    pdf-export document-generation chat-export reportlab flask-route
  • function main_v32

    Generates sample signature images (PNG files) for a predefined list of names and saves them to a 'signatures' directory.

    File: /tf/active/vicechatdev/document_auditor/generate_sample_signatures.py

    signature-generation image-processing file-creation audit-system setup-utility
  • class OneCo_hybrid_RAG_v3

    A class named OneCo_hybrid_RAG

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

    class oneco_hybrid_rag
  • 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
  • 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 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
  • class RelTypes

    A constants class that defines string literals representing relationship types used in a graph database (Neo4j) for document management and approval workflows.

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

    constants graph-database neo4j relationships document-management
  • function user_has_permission

    Validates whether a user has one or more specified permissions based on their assigned roles and a role-permission mapping configuration.

    File: /tf/active/vicechatdev/CDocs/config/permissions.py

    authorization permissions RBAC role-based-access-control security
  • function get_user_permissions

    Retrieves all permissions for a user by aggregating permissions from their assigned roles, with fallback to default USER role permissions.

    File: /tf/active/vicechatdev/CDocs/config/permissions.py

    authorization permissions rbac role-based-access-control security
  • function check_document_permission

    Validates whether a user has specific permission(s) to access or modify a document based on their roles, ownership status, and configured role permissions.

    File: /tf/active/vicechatdev/CDocs/config/permissions.py

    authorization permissions RBAC access-control document-management
  • function user_has_permission_for_resource

    Checks if a user has a specific permission for a resource, considering both general permissions and resource-specific ownership/creator rights.

    File: /tf/active/vicechatdev/CDocs/config/permissions.py

    authorization permissions access-control security resource-ownership
  • 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_user_by_id

    Retrieves user data from a Neo4j graph database by user ID, including associated roles and formatted name fields.

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

    database neo4j user-management graph-database query
  • 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 get_user_access_url

    Retrieves a share URL for a document version and determines the appropriate access level (read/write) for a specific user based on their role (owner, author, reviewer, approver) and the document's current status.

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

    access-control permissions document-management role-based-access workflow
  • class AdminPanel

    Admin configuration interface component

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

    class adminpanel
  • class DocumentAccessControls

    A Panel-based UI component that manages document access controls, providing view and edit buttons with role-based permissions and status indicators.

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

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

    Discovers database schema from live database connection

    File: /tf/active/vicechatdev/full_smartstat/dynamic_schema_discovery.py

    class dynamicschemadiscovery

Search Examples