🔍 Code Extractor

Search Components

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

Search Results for "admin"

Found 50 matching component(s)

  • 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 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
  • class FileCloudAPI

    Python wrapper for the FileCloud REST API. This class provides methods to interact with FileCloud server APIs, handling authentication, session management, and various file operations.

    File: /tf/active/vicechatdev/FC_api copy.py

    class filecloudapi
  • class FileCloudAPI_v1

    Python wrapper for the FileCloud REST API. This class provides methods to interact with FileCloud server APIs, handling authentication, session management, and various file operations.

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

    class filecloudapi
  • 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 main_v34

    Interactive CLI helper function that generates and displays instructions for granting SharePoint app permissions to an Azure AD application.

    File: /tf/active/vicechatdev/SPFCsync/grant_sharepoint_access.py

    sharepoint azure-ad permissions cli-helper configuration
  • function test_sharepoint_token

    Tests SharePoint OAuth2 authentication by acquiring an access token using client credentials flow and validates it with a SharePoint API call.

    File: /tf/active/vicechatdev/SPFCsync/diagnose_sharepoint.py

    sharepoint oauth2 authentication azure-ad access-token
  • function test_sharepoint_api_call

    Tests SharePoint REST API connectivity by making an authenticated GET request to retrieve basic site information and validates the access token and permissions.

    File: /tf/active/vicechatdev/SPFCsync/diagnose_sharepoint.py

    sharepoint api-testing authentication oauth rest-api
  • function main_v43

    Orchestrates a comprehensive SharePoint connection diagnostic tool that validates Azure AD authentication and SharePoint access by running multiple tests and reporting results.

    File: /tf/active/vicechatdev/SPFCsync/diagnose_sharepoint.py

    diagnostics sharepoint azure-ad authentication testing
  • function provide_admin_instructions

    Displays comprehensive administrative instructions for fixing SharePoint app-only authentication issues by loading configuration and presenting multiple resolution options.

    File: /tf/active/vicechatdev/SPFCsync/check_tenant_config.py

    sharepoint admin-instructions troubleshooting authentication app-only-auth
  • function main_v44

    Diagnostic function that tests SharePoint tenant configuration by checking Microsoft Graph API access and provides recommendations based on the results.

    File: /tf/active/vicechatdev/SPFCsync/check_tenant_config.py

    diagnostic sharepoint microsoft-graph authentication tenant-configuration
  • function test_tenant_admin_center_approach

    Displays detailed troubleshooting instructions for resolving SharePoint 'Unsupported app only token' errors by providing three alternative configuration approaches through tenant admin center.

    File: /tf/active/vicechatdev/SPFCsync/diagnose_permissions.py

    sharepoint troubleshooting authentication azure admin
  • function main_v47

    Entry point function that runs a SharePoint permission diagnostic tool, testing different authentication scopes and providing troubleshooting guidance.

    File: /tf/active/vicechatdev/SPFCsync/diagnose_permissions.py

    sharepoint diagnostic authentication troubleshooting app-only-tokens
  • function is_admin_user

    Checks if the currently authenticated user has administrator privileges by comparing their email against a hardcoded list of admin emails.

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

    authentication authorization rbac admin access-control
  • function save_config_to_file

    Persists current application configuration values from the config module to a .env file, maintaining existing entries and formatting multi-value fields appropriately.

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

    configuration persistence file-io environment-variables dotenv
  • function index_v1

    Flask route handler that renders the main application page with user session management, authentication checks, and document collection statistics.

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

    flask web-route session-management authentication main-page
  • function api_get_system_config

    Flask API endpoint that retrieves current system configuration settings for admin users only, returning configuration values like system role, expertise, domain context, and supported languages.

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

    flask api admin configuration system-settings
  • function api_update_system_config

    Flask API endpoint that allows administrators to update system configuration settings including system role, expertise, domain context, custom instructions, output style, and query languages, with persistence to disk.

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

    admin configuration system-settings api-endpoint flask
  • function test_international_tax_ids

    A test function that validates an LLM client's ability to extract tax identification numbers and business registration numbers from a multi-party international contract document across 8 different countries.

    File: /tf/active/vicechatdev/contract_validity_analyzer/test_international_tax_ids.py

    testing llm document-analysis tax-id-extraction international
  • function migrate_from_legacy

    Flask API endpoint that migrates data from a legacy system to the current database by accepting a data directory path and executing a migration process.

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

    migration legacy-system data-migration flask-endpoint api
  • 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
  • function main_v6

    Main execution function that orchestrates the import of controlled documents from FileCloud into a Neo4j database, checking for duplicates and managing document metadata.

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

    document-management filecloud neo4j import batch-processing
  • 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
  • function init_admin_role

    Initializes an ADMIN role for a specific administrator user (wim@vicebio.com) in a Neo4j graph database by creating role relationships if they don't already exist.

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

    admin initialization role-management neo4j graph-database
  • class Permission

    A constants class that defines permission type strings for a document management and review system.

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

    permissions constants access-control authorization rbac
  • 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 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 get_system_stats

    Retrieves comprehensive system statistics from a Neo4j graph database for display on an admin dashboard, including user counts, document counts, review cycles, and approval metrics.

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

    admin dashboard statistics metrics neo4j
  • function get_users

    Retrieves user information from a Neo4j graph database for display in an admin panel, with optional filtering by user ID.

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

    database neo4j user-management admin query
  • function get_system_settings

    Retrieves system-wide configuration settings from a Neo4j database, returning default values if settings are not found or an error occurs.

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

    configuration settings neo4j database system-config
  • 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_system_configuration

    Retrieves system configuration settings from environment variables for display in an admin panel, including database connections, authentication settings, and operational parameters.

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

    configuration environment-variables admin system-settings neo4j
  • 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 delete_user

    Safely deactivates a user account by setting an 'active' flag to false rather than permanently deleting the user record from the database.

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

    user-management database neo4j deactivation soft-delete
  • 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 remove_training_assignment

    Removes a training assignment relationship between a user and a controlled document in a Neo4j graph database, with audit logging and permission checks.

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

    training-management neo4j graph-database relationship-deletion audit-logging
  • function get_training_overview

    Retrieves a comprehensive training overview for the admin panel, including training plans, active assignments, and recent completions from a Neo4j graph database.

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

    training admin overview dashboard neo4j
  • function close_approval_cycle_v1

    Administratively closes an approval cycle by setting a final decision (APPROVED or REJECTED), updating the associated document status, and notifying relevant stakeholders.

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

    approval-management administrative-action document-workflow transaction-management permission-control
  • function search_documents_v1

    Searches for controlled 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/CDocs/controllers/document_controller.py

    search documents neo4j cypher database-query
  • function get_documents

    Retrieves controlled documents from a Neo4j database with comprehensive filtering, permission-based access control, pagination, and full-text search capabilities.

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

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

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

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

    review-management comment-update permission-control audit-logging notification
  • class DocumentDetail_v2

    Document detail view component

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

    class documentdetail
  • class ApprovalPanel

    Approval management interface component

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

    class approvalpanel
  • class ApprovalPanel_v1

    Approval management interface component

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

    class approvalpanel
  • class ReviewPanel

    Review management interface component

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

    class reviewpanel

Search Examples