{
  "variation-class": "a-iconText-background a-iconText-large",
  "hasIcon": {
    "icon-prefix": "reg",
    "icon-class": "reg-forward",
    "icon-extra-class": "a-icon"    
  },
  "delegation-sub-header-text": false,
  "delegation-sub-header-text-secondary": false,
  "hasTextSmall": false,
  "icontext": "Del tilgang: RF-1049 Oppgjørsblankett for privat arbeidsgivere",
  "isHeader": true,
  "modal-navbar-override": {
    "button-list": [
      {
        "button-class": "a-modal-back",
        "aria-label": "Tilbake",
        "icon-prefix": "ai",
        "icon-class": "ai-back",
        "icon-extra-class": "",
        "stacked-background": {
          "icon-prefix": "ai",
          "icon-class": "ai-plain-circle-big"
        },
        "onclick": "location.href='link.sider-portal-andre-med-rettigheter-tildel-roller'",
        "enable-popover": false
      },
      {
        "button-class": "a-modal-close",
        "aria-label": "Lukk",
        "icon-prefix": "ai",
        "icon-class": "ai-exit",
        "icon-extra-class": "a-modal-close-icon",
        "stacked-background": {
          "icon-prefix": "ai",
          "icon-class": "ai-plain-circle-big"
        },
        "onclick": "location.href='link.sider-portal-innboks'",
        "enable-popover": false
      }
    ]
  },
  "show-give-rights": true,
  "forward-in-altinn": {
    "variation-class": "",
    "delegation-header-text": {
      "hasIcon": false,
      "hasTextSmall": true,
      "textSmall": "For å kunne se og fylle ut <b>RF-1049 Oppgjørsblankett for privat arbeidsgivere</b> trenger <b>Doris Kahn</b> disse rettighetene til skjemaet for <b>Kajakk og ski AS</b>:",
      "icontext": "",
      "isHeader": false
    },
    "delegation-horizontal-line": false,
    "delegation-submit": {
      "button-text": "Del og gi fullmakt",
      "button-class": "a-btn",
      "button-type": "submit",
      "onclick": "location.href='link.sider-portal-videresend-i-altinn-melding';"
      
    },
    "delegation-has": {
      "delegation-has-text": false,
      "checkbuttons": [
        {
          "icon-extra-class": "",
          "checkbuttons-title": " Kun lese",
          "checkbuttons-id": "checkbutton-lese",
          "checkbuttons-class": "",
          "isChecked": true,
          "hasIcon": {
            "icon-prefix": "ai",
            "icon-class": "ai-read"
          },
          "stacked-background": false,
          "enable-popover":  true,
          "popover-placement": "bottom",
          "popover-content-id": "lesepopover",
          "popover-class": "popover-warning",
          "popover-text": "Ved å fjerne leserettighet begrenser du brukerens mulighet til å utføre oppgaven",
          "data-trigger": "onchange",
          "popover-buttons": [
            {
              "button-text": "Ok",
              "button-class": "a-btn a-btn-danger"
            }
          ]
        },
        {
          "icon-extra-class": "",
          "checkbuttons-title": " Fylle ut",
          "checkbuttons-id": "checkbutton-utfylling",
          "checkbuttons-class": "",
          "isChecked": true,
          "hasIcon": {
            "icon-prefix": "ai",
            "icon-class": "ai-write"
          },
          "stacked-background": false,
          "enable-popover":  true,
          "popover-placement": "bottom",
          "popover-content-id": "utfyllingspopover",
          "popover-class": "popover-warning",
          "popover-text": "Ved å fjerne utfyllingsrettighet begrenser du brukerens mulighet til å utføre oppgaven",
          "data-trigger": "onchange",
          "popover-buttons": [
            {
              "button-text": "Ok",
              "button-class": "a-btn a-btn-danger"
            }
          ]
        },
        {
          "icon-extra-class": "",
          "checkbuttons-title": " Signere",
          "checkbuttons-id": "checkbutton-sign",
          "checkbuttons-class": "",

          "isChecked": true,
          "hasIcon": {
            "icon-prefix": "ai",
            "icon-class": "ai-sign"
          },
          "stacked-background": false,
          "enable-popover":  true,
          "popover-placement": "bottom",
          "popover-content-id": "signeringspopover",
          "popover-class": "popover-warning",
          "popover-text": "Ved å fjerne signeringsrettighet begrenser du brukerens mulighet til å utføre oppgaven",
          "data-trigger": "onchange",
          "popover-buttons": [
            {
              "button-text": "Ok",
              "button-class": "a-btn a-btn-danger"
            }
          ]
        }
      ]
    },
    "delegation-needs": false,
    "delegation-message": false,
    "delegation-alternative-link": false
  }
}
