Hide Menu Items

To hide specific menu items, do the following:

  1. Open the /opt/findface-multi/configs/findface-multi-legacy/findface-multi-legacy.py configuration file.

    sudo vi /opt/findface-multi/configs/findface-multi-legacy/findface-multi-legacy.py
    
  2. In the FFSECURITY_UI_CONFIG section, find the menu section. List the menu items that you want to hide.

    FFSECURITY_UI_CONFIG = {
        "menu": {
            "disabled_items": [
                "areas",
                "player",
                "cases"
            ],
        },
    

    You can hide the following items:

    Menu item

    Configure as follows

    Search

    "search"

    Interaction Tracking

    "relations"

    Video Wall

    "video-wall"

    Counters

    "counters"

    Video Sources

    "data_sources"

    Episodes and Events

    "events_episodes"

    Clusters

    "clusters"

    Audience Analysis

    "analytics"

    Settings

    "settings"

    Record Index

    "cards"

    Video Player

    "player"

    Verify

    "verify"

    Audit Log

    "audit-logs"

    Reports

    "reports"

    Users

    "users"

    Sessions

    "sessions"

    Blocklist records

    "blocklistRecords"

    Camera groups

    "camera-groups"

    Watch lists

    "watch-lists"

    License

    "license"

    External VMS

    "external-vms"

    Webhooks

    "hooks"

    Documentation

    "documentation"

    API documentation

    "api_doc"

    menu items activated by custom plugins

    Contact our support team for details about your plugin.

  3. Restart the findface-multi-findface-multi-legacy-1 container.

    sudo docker container restart findface-multi-findface-multi-legacy-1