Skip to content

Blacklisting vs Whitelisting

terrelsa13 edited this page Mar 9, 2025 · 5 revisions

Listing Options During Setup

admin_settings:
  behavior:
    list: string

Choose Blacklist During The Setup When

Choose Whitelist During The Setup When

Whitelisting Examples; Assume x4 Libraries

  • Examples of how libraries are organized when whitelisting is chosen during setup:
    • user0
      • libraryD selected
    • user1
      • libraryC selected
      • libraryD selected
    • user2
      • libraryB selected
      • libraryC selected
      • libraryD selected
    • user3
      • -no libraries selected-
admin_settings:
  users:
  - user_id: ...
    user_name: user0
    whitelist:
    - lib_id: ...
      collection_type: libraryD
      path: ...
      network_path: ...
      lib_enabled: true
    blacklist:
    - lib_id: ...
      collection_type: libraryA
      path: ...
      network_path: ...
      lib_enabled: true
    - lib_id: ...
      collection_type: libraryB
      path: ...
      network_path: ...
      lib_enabled: true
    - lib_id: ...
      collection_type: libraryC
      path: ...
      network_path: ...
      lib_enabled: true
  - user_id: ...
    user_name: user1
    whitelist:
    - lib_id: ...
      collection_type: libraryC
      path: ...
      network_path: ...
      lib_enabled: true
    - lib_id: ...
      collection_type: libraryD
      path: ...
      network_path: ...
      lib_enabled: true
    blacklist:
    - lib_id: ...
      collection_type: libraryA
      path: ...
      network_path: ...
      lib_enabled: true
    - lib_id: ...
      collection_type: libraryB
      path: ...
      network_path: ...
      lib_enabled: true
  - user_id: ...
    user_name: user2
    whitelist:
    - lib_id: ...
      collection_type: libraryB
      path: ...
      network_path: ...
      lib_enabled: true
    - lib_id: ...
      collection_type: libraryC
      path: ...
      network_path: ...
      lib_enabled: true
    - lib_id: ...
      collection_type: libraryD
      path: ...
      network_path: ...
      lib_enabled: true
    blacklist:
    - lib_id: ...
      collection_type: libraryA
      path: ...
      network_path: ...
      lib_enabled: true
  - user_id: ...
    user_name: user3
    whitelist: [] #empty list
    blacklist:
    - lib_id: ...
      collection_type: libraryA
      path: ...
      network_path: ...
      lib_enabled: true
    - lib_id: ...
      collection_type: libraryB
      path: ...
      network_path: ...
      lib_enabled: true
    - lib_id: ...
      collection_type: libraryC
      path: ...
      network_path: ...
      lib_enabled: true
    - lib_id: ...
      collection_type: libraryD
      path: ...
      network_path: ...
      lib_enabled: true

Blacklisting Examples; Assume x4 Libraries

  • Examples of how libraries are organized when blacklisting is chosen during setup:
    • user0
      • libraryD selected
    • user1
      • libraryC selected
      • libraryD selected
    • user2
      • libraryB selected
      • libraryC selected
      • libraryD selected
    • user3
      • -no libraries selected-
admin_settings:
  users:
  - user_id: ...
    user_name: user0
    whitelist:
    - lib_id: ...
      collection_type: libraryA
      path: ...
      network_path: ...
      lib_enabled: true
    - lib_id: ...
      collection_type: libraryB
      path: ...
      network_path: ...
      lib_enabled: true
    - lib_id: ...
      collection_type: libraryC
      path: ...
      network_path: ...
      lib_enabled: true
    blacklist:
    - lib_id: ...
      collection_type: libraryD
      path: ...
      network_path: ...
      lib_enabled: true
  - user_id: ...
    user_name: user1
    whitelist:
    - lib_id: ...
      collection_type: libraryA
      path: ...
      network_path: ...
      lib_enabled: true
    - lib_id: ...
      collection_type: libraryB
      path: ...
      network_path: ...
      lib_enabled: true
    blacklist:
    - lib_id: ...
      collection_type: libraryC
      path: ...
      network_path: ...
      lib_enabled: true
    - lib_id: ...
      collection_type: libraryD
      path: ...
      network_path: ...
      lib_enabled: true
  - user_id: ...
    user_name: user2
    whitelist:
    - lib_id: ...
      collection_type: libraryA
      path: ...
      network_path: ...
      lib_enabled: true
    blacklist:
    - lib_id: ...
      collection_type: libraryB
      path: ...
      network_path: ...
      lib_enabled: true
    - lib_id: ...
      collection_type: libraryC
      path: ...
      network_path: ...
      lib_enabled: true
    - lib_id: ...
      collection_type: libraryD
      path: ...
      network_path: ...
      lib_enabled: true
  - user_id: ...
    user_name: user3
    whitelist:
    - lib_id: ...
      collection_type: libraryA
      path: ...
      network_path: ...
      lib_enabled: true
    - lib_id: ...
      collection_type: libraryB
      path: ...
      network_path: ...
      lib_enabled: true
    - lib_id: ...
      collection_type: libraryC
      path: ...
      network_path: ...
      lib_enabled: true
    - lib_id: ...
      collection_type: libraryD
      path: ...
      network_path: ...
      lib_enabled: true
    blacklist: [] #empty list

Additional Information - MUMC extras.

Clone this wiki locally