Component description

The settings property configures the behavior of a panel.

Minimal JSON

{}
{
  "type": "panel",
  "settings": {
    "visibleToRoles": [
      "ADMIN",
      "CONTRIBUTOR"
    ],
    "visibleToGroups": [
      "HR",
      "Finance"
    ],
    "defaultOpen": false
  }
}

Nested properties

PropertyDescriptionValuesMandatory
visibleToRolesArray of selected Dawiso user roles who can see the panel. Supported values are: ADMIN, CONTRIBUTOR, VIEWER, GUEST. The ROLE_ prefix and any letter case are also accepted.array of stringsNo
visibleToGroupsArray of user group names whose members can see the panel. Groups are referenced by name (case-insensitive, surrounding spaces ignored), not by ID.array of stringsNo
defaultOpenDetermines whether the panel is open by default.booleanNo

Visibility rules

  • Roles and groups work as a union: a user sees the panel when they have one of the listed roles or belong to one of the listed groups.
  • Administrators always see the panel.
  • An empty or missing visibleToRoles and visibleToGroups means the panel is visible to everyone.
  • If every role in visibleToRoles is unknown, the panel becomes visible to administrators only. It never becomes public.
  • Group membership is checked when the object page loads. A membership change applies on the user’s next page load.
Warning

Visibility is a view customization, not access control. It applies to the object page only (read view, inline edit, fullscreen editor, and panel description). Hidden values stay available through the API, API tables and bulk edit, search, Excel and Word export, and the create dialog.