{
  "variation-class": "a-iconText-background a-iconText-large",
  "icontext": "Rettighetsforespørsel",
  "hasIcon": {
    "icon-prefix": "reg",
    "iconClass": "reg-forward",
    "iconExtraClass": "a-icon"
  },
  "modal-navbar-override": {
    "button-list": [
      {
        "buttonClass": "a-modal-back",
        "aria-label": "Tilbake",
        "icon-prefix": "ai",
        "iconClass": "ai-back",
        "iconExtraClass": "",
        "stacked-background": {
          "icon-prefix": "ai",
          "iconClass": "ai-plain-circle-big"
        },
        "onclick": "location.href='link.sider-portal-profil-roller-rettigheter'",
        "enable-popover": false
      },
      {
        "buttonClass": "a-modal-close",
        "aria-label": "Lukk",
        "icon-prefix": "ai",
        "iconClass": "ai-exit",
        "iconExtraClass": "a-modal-close-icon",
        "stacked-background": {
          "icon-prefix": "ai",
          "iconClass": "ai-plain-circle-big"
        },
        "onclick": "location.href='link.sider-portal-profil-roller-rettigheter'",
        "enable-popover": false
      }
    ]
  },
  "show-be-om-tilgang": false,
  "others-with-rights": {
    "show-gi-fjerne-roller": {
      "person-rolle": {
        "person-role-role": false,
        "person-role-name": "Tuva Landro",
        "iconClass": "ai-private"
      },
      "showButton": false,
      "search-header": false,
      "service-search": false,
      "search-result": false,
      "alert-alone" : {
        "alert-id": "alert-no-arrow",
        "alert-class": "a-message-info a-message--arrow-off a-message--fullwidth",
        "alert-items": [
          {
            "use-row": true,
            "row-extra-class": "col",
            "alert-header": {
              "classes": "a-fontSizeXXXS",
              "text": "forespørsel sendt mandag 13. februar 2019"
            }
          },
          {
            "use-row": true,
            "row-extra-class": "col mt-1 mb-1",
            "alert-text": {
              "text": "Tuva Landro har spurt om tilgang til <b>B01 B-melding</b>. Forespørselen omfatter rett til:"
            }
          },
          {
            "use-row": true,
            "row-extra-class": "col mt-1 mb-1",
            "alert-checkbuttons": {
              "checkbuttons": [
                {
                  "checkbuttons-title": " Kun lese",
                  "checkbuttons-id": "checkbutton-lese",
                  "checkbuttons-class": "disabled",
                  "checkbuttons-container-class": "a-noPointer",
                  "isChecked": true,
                  "isDisabled": true,
                  "hasIcon": {
                    "icon-prefix": "ai",
                    "iconClass": "ai-read"
                  },
                  "stacked-background": false,
                  "enable-popover":  false,
                  "data-trigger": "onchange"
                },
                {
                  "checkbuttons-title": " Fylle ut",
                  "checkbuttons-id": "checkbutton-utfylling",
                  "checkbuttons-class": "disabled",
                  "checkbuttons-container-class": "a-noPointer",
                  "isChecked": true,
                  "isDisabled": true,
                  "hasIcon": {
                    "icon-prefix": "ai",
                    "iconClass": "ai-write"
                  },
                  "stacked-background": false,
                  "enable-popover":  false
                },
                {
                  "checkbuttons-title": " Signere",
                  "checkbuttons-id": "checkbutton-sign",
                  "checkbuttons-class": "disabled",
                  "checkbuttons-container-class": "a-noPointer",
                  "isChecked": true,
                  "isDisabled": true,
                  "hasIcon": {
                    "icon-prefix": "ai",
                    "iconClass": "ai-sign"
                  },
                  "stacked-background": false,
                  "enable-popover":  false,
                  "data-trigger": "onchange"
                }                
              ]
            }
          },
          {
            "use-row": true,
            "row-extra-class": "col mt-1 mb-1",
            "alert-bottom-button-row": {
              "buttons": [
                {
                  "aria-label":  false,
                  "button-text": "Godta forespørsel",
                  "buttonClass": "a-btn a-btn-success mr-1",
                  "onclick": "location.href='link.sider-portal-tilgangsforesporsel-gi-tilgang-mangler-rettigheter'",
                  "icon-prefix": false,
                  "iconClass": false,
                  "display-as-link": true,
                  "enable-popover": false
                },
                {
                  "aria-label":  false,
                  "display-as-link": true,
                  "button-text": "Avslå forespørsel",
                  "buttonClass": "a-btn-link a-linkDanger a-js-popover-forceFocus",
                  "icon-prefix": false,
                  "iconClass": false,
                  "enable-popover": true,
                  "popover-placement": "bottom",
                  "popover-content-id": "sampleIdPopoverButtoinLink",
                  "popover-class": "popover-warning",
                  "popover-text": "Rettighetsforespørselen blir slettet",
                  "popover-buttons": [
                    {
                      "button-text": "Ok",
                      "buttonClass": "a-btn a-btn-danger",
                      "onclick": "location.href='link.sider-portal-profil-roller-rettigheter'"
                    },
                    {
                      "button-text": "Avbryt",
                      "buttonClass": "a-btn-link a-linkDanger",
                      "display-as-link": true,
                      "onclick": "$('button[aria-describedby=' + $(this).parent().parent().attr('id') + ']').click();"
                    }
                  ]
                }
              ]
            }
          }  
        ]
      },
      "expandable-list": [
        {
          "collapse-header-title": "Har disse <span class='badge badge-primary a-label badge-pill'>0</span> rollene:",
          "collapse-header-contentID": "exp-list-1",
          "collapse-header-class": "a-dotted",
          "aria-expanded": false,
          "heading-action": false,
          "aria-expanded-header": false,
          "role": "list",
          "has-link": {
            "link-text": "Disse rollene gir tilgang til disse tjenestene",
            "link-url": "link.sider-portal-andre-med-rettigheter-roller-gir-tilgang-til-tjenester"
          },
          "rows": [
          ]
        },
        {
          "collapse-header-title": "Har også tilgang til disse <span class='badge badge-primary a-label badge-pill'>0</span> enkelttjenestene",
          "collapse-header-contentID": "exp-list-2",
          "collapse-header-class": "a-dotted",
          "aria-expanded": false,
          "heading-action": false,
          "has-link": false,
          "aria-expanded-header": false,
          "role": "list",
          "rows": [
          ]
        },
        {
          "collapse-header-title": "Har også tilgang til disse <span class='badge badge-primary a-label badge-pill'>0</span> skjemaene",
          "collapse-header-contentID": "exp-list-3",
          "collapse-header-class": "a-dotted",
          "aria-expanded": false,
          "heading-action": false,
          "has-link": false,
          "aria-expanded-header": false,
          "role": "list",
          "rows": [
          ]
        }
      ]
    }
  }
}