Hide Menu Items

To hide specific menu items, do the following:

  1. Open the /etc/findface-security/config.py configuration file.

    sudo vi /etc/findface-security/config.py
    
  2. Into the FFSECURITY_UI_CONFIG section, insert the menu section, as shown in the example below. List the menu items that you want to hide.

    FFSECURITY_UI_CONFIG = {
        "menu": {
            "disabled_items": ["video-wall", "know_your_customer"]
        },
    

    You can hide the following items:

    Menu item

    Configure as follows

    Search

    "search"

    Events

    "events"

    Episodes

    "episodes"

    Persons

    "persons"

    Relations

    "contacts"

    Counters

    "counters"

    Cameras

    "cameras"

    Video Wall

    "video-wall"

    Reports

    "reports"

    Audit Logs

    "audit_logs"

    Dossiers

    "dossiers"

    Videos

    "videos"

    Analytics

    "know_your_customer"

    Preferences

    "preferences"

    General Preferences

    "settings"

    Appearance

    "appearance"

    Roles

    "roles"

    Users

    "users"

    Camera Groups

    "camera-groups"

    Watch Lists

    "dossier-lists"

    License

    "license"

    Tools

    "tools"

    Verify

    "verify"

    Developer

    "developer"

    Documentation

    "documentation"

    API documentation

    "api_doc"

    Webhooks

    "webhooks"

    menu items activated by custom plugins

    Contact our support team for details about your plugin.

  3. Restart the findface-security service.

    sudo systemctl restart findface-security.service