name: Varbase Admin Base
description: A recipe to manage default installed modules, configs and permissions for Varbase admin experience.
type: Varbase Admin
install:
  - node
  - help
  - taxonomy
  - gin
  - roleassign
  - config_perms
  - admin_audit_trail
  - admin_audit_trail_file
  - admin_audit_trail_media
  - admin_audit_trail_user
  - admin_audit_trail_taxonomy
  - admin_audit_trail_node
  - admin_audit_trail_menu
  - admin_audit_trail_auth
  - masquerade
  - menu_admin_per_menu
  - revision_log_default
  - syslog
  - update
  - autosave_form
  - settings_tray
  - entity_clone
  - taxonomy_manager
  - taxonomy_access_fix
  - coffee
  - length_indicator
  - maxlength
  - navigation
  - navigation_extra_tools
  - gin_toolbar
  - gin_login
  - gin_everywhere
  - gin_type_tray
  - trash
  - eca_vbo
  - ui_icons
  - varbase_recipes
config:
  import:
    autosave_form:
      - autosave_form.messages
    navigation:
      - navigation.settings
      - system.menu.content
  actions:
    user.settings:
      simpleConfigUpdate:
        register: admin_only
    node.settings:
      simpleConfigUpdate:
        use_admin_theme: true
    gin.settings:
      simpleConfigUpdate:
        logo:
          path: profiles/contrib/varbase/images/varbase-medium-logo-emblem-color.png
          use_default: false
        favicon:
          mimetype: image/vnd.microsoft.icon
          path: profiles/contrib/varbase/images/favicon.ico
          use_default: false
        show_description_toggle: true
    gin_login.settings:
      simpleConfigUpdate:
        logo:
          use_default: false
          path: themes/contrib/vartheme_bs5/logo.svg
        brand_image:
          use_default: true
    navigation.settings:
      simpleConfigUpdate:
        logo:
          provider: custom
          path: profiles/contrib/varbase/images/varbase-medium-logo-emblem-color.png
          max:
            filesize: 1048576
            height: 40
            width: 40
    trash.settings:
      simpleConfigUpdate:
        enabled_entity_types.file: []
        enabled_entity_types.media: []
        enabled_entity_types.taxonomy_term: []
        enabled_entity_types.node: []
        enabled_entity_types.canvas_page: []
    user.role.content_editor:
      grantPermissions:
        - 'access admin audit trail'
        - 'access administration pages'
        - 'access coffee'
        - 'access contextual links'
        - 'access help pages'
        - 'access media overview'
        - 'access navigation'
        - 'access site in maintenance mode'
        - 'access site reports'
        - 'access taxonomy manager list'
        - 'access toolbar'
        - 'access trash'
        - 'clone node entity'
        - 'restore node entities'
        - 'restore taxonomy_term entities'
        - 'view deleted entities'
        - 'view editoria11y checker'
        - 'mark as hidden in editoria11y'
        - 'view the administration theme'
        - 'view welcome dashboard'
    user.role.content_admin:
      grantPermissions:
        - 'access admin audit trail'
        - 'access administration pages'
        - 'access coffee'
        - 'access contextual links'
        - 'access help pages'
        - 'access media overview'
        - 'access navigation'
        - 'access navigation extra tools cache flushing'
        - 'access navigation extra tools cron'
        - 'access site in maintenance mode'
        - 'access site reports'
        - 'access taxonomy manager list'
        - 'access toolbar'
        - 'access trash'
        - 'administer footer menu items'
        - 'administer main menu items'
        - 'clone block entity'
        - 'clone menu_link_content entity'
        - 'clone node entity'
        - 'clone taxonomy_term entity'
        - 'clone taxonomy_vocabulary entity'
        - 'clone user entity'
        - 'restore file entities'
        - 'restore media entities'
        - 'restore node entities'
        - 'restore taxonomy_term entities'
        - 'view deleted entities'
        - 'view editoria11y checker'
        - 'mark as hidden in editoria11y'
        - 'view the administration theme'
        - 'view welcome dashboard'
    user.role.seo_admin:
      grantPermissions:
        - 'access admin audit trail'
        - 'access administration pages'
        - 'access coffee'
        - 'access contextual links'
        - 'access help pages'
        - 'access media overview'
        - 'access navigation'
        - 'access site in maintenance mode'
        - 'access site reports'
        - 'access toolbar'
        - 'access trash'
        - 'view deleted entities'
        - 'view editoria11y checker'
        - 'mark as hidden in editoria11y'
        - 'view the administration theme'
        - 'view welcome dashboard'
    user.role.site_admin:
      grantPermissions:
        - 'access admin audit trail'
        - 'access administration pages'
        - 'access coffee'
        - 'access contextual links'
        - 'access help pages'
        - 'access media overview'
        - 'access navigation'
        - 'access navigation extra tools cache flushing'
        - 'access navigation extra tools cron'
        - 'access site in maintenance mode'
        - 'access site reports'
        - 'access taxonomy manager list'
        - 'access toolbar'
        - 'access trash'
        - 'administer account menu items'
        - 'administer account settings'
        - 'administer admin menu items'
        - 'administer blocks'
        - 'administer footer menu items'
        - 'administer main menu items'
        - 'administer tools menu items'
        - 'administer users'
        - 'assign roles'
        - 'clone block entity'
        - 'clone menu_link_content entity'
        - 'clone node entity'
        - 'clone taxonomy_term entity'
        - 'clone taxonomy_vocabulary entity'
        - 'clone user entity'
        - 'masquerade as authenticated'
        - 'masquerade as content_admin'
        - 'masquerade as content_editor'
        - 'masquerade as seo_admin'
        - 'masquerade as site_admin'
        - 'purge file entities'
        - 'purge media entities'
        - 'purge node entities'
        - 'purge taxonomy_term entities'
        - 'restore file entities'
        - 'restore media entities'
        - 'restore node entities'
        - 'restore taxonomy_term entities'
        - 'view deleted entities'
        - 'view editoria11y checker'
        - 'mark as hidden in editoria11y'
        - 'view the administration theme'
        - 'view user email addresses'
        - 'view welcome dashboard'
