4
0

config.yaml 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. #
  2. # Integration Test Config: Require Guests to Login
  3. #
  4. listenAddressSingleHTTPFrontend: 0.0.0.0:1337
  5. logLevel: "DEBUG"
  6. checkForUpdates: false
  7. # Require guests to login
  8. authRequireGuestsToLogin: true
  9. # Enable local user authentication
  10. authLocalUsers:
  11. enabled: true
  12. users:
  13. - username: "alice"
  14. usergroup: "admins"
  15. password: "$argon2id$v=19$m=65536,t=4,p=6$ORxyZZGW6E3FWZnbQmHJ9Q$BzIOWeXry/BZ6+JV1T4UASBnebVLB9QJ4f5TmUPXsg4" # notsecret: password
  16. - username: "bob"
  17. usergroup: "users"
  18. password: "$argon2id$v=19$m=65536,t=4,p=6$ORxyZZGW6E3FWZnbQmHJ9Q$BzIOWeXry/BZ6+JV1T4UASBnebVLB9QJ4f5TmUPXsg4" # notsecret: password
  19. accessControlLists:
  20. - name: "admin"
  21. matchUsergroups: ["admins"]
  22. addToEveryAction: true
  23. permissions:
  24. view: true
  25. exec: true
  26. logs: true
  27. kill: true
  28. - name: "users"
  29. matchUsergroups: ["users"]
  30. addToEveryAction: true
  31. permissions:
  32. view: true
  33. exec: false
  34. logs: false
  35. kill: false
  36. # Simple actions for testing
  37. actions:
  38. - title: Ping Google.com
  39. shell: ping google.com -c 1
  40. icon: ping
  41. - title: sleep 2 seconds
  42. shell: sleep 2
  43. icon: "&#x1F971"