roles
{
  "roles": [
    {
      "description": "Administrator with full access",
      "name": "admin",
      "permissions": [
        {
          "code": "user:create"
        },
        {
          "code": "user:read"
        },
        {
          "code": "user:update"
        },
        {
          "code": "user:delete"
        },
        {
          "code": "role:create"
        },
        {
          "code": "role:read"
        },
        {
          "code": "role:update"
        },
        {
          "code": "role:delete"
        },
        {
          "code": "permission:create"
        },
        {
          "code": "permission:read"
        },
        {
          "code": "permission:update"
        },
        {
          "code": "permission:delete"
        },
        {
          "code": "service:create"
        },
        {
          "code": "service:read"
        },
        {
          "code": "service:update"
        },
        {
          "code": "service:delete"
        },
        {
          "code": "task:create"
        },
        {
          "code": "task:read"
        },
        {
          "code": "task:update"
        },
        {
          "code": "task:delete"
        },
        {
          "code": "note:create"
        },
        {
          "code": "note:read"
        },
        {
          "code": "note:update"
        },
        {
          "code": "note:delete"
        },
        {
          "code": "channel:create"
        },
        {
          "code": "channel:read"
        },
        {
          "code": "channel:update"
        },
        {
          "code": "channel:delete"
        },
        {
          "code": "message:create"
        },
        {
          "code": "message:read"
        },
        {
          "code": "message:update"
        },
        {
          "code": "message:delete"
        },
        {
          "code": "taskstatus:create"
        },
        {
          "code": "taskstatus:read"
        },
        {
          "code": "taskstatus:update"
        },
        {
          "code": "taskstatus:delete"
        }
      ]
    },
    {
      "description": "Service manager with task management",
      "name": "manager",
      "permissions": [
        {
          "code": "service:create"
        },
        {
          "code": "service:read"
        },
        {
          "code": "service:update"
        },
        {
          "code": "service:delete"
        },
        {
          "code": "task:create"
        },
        {
          "code": "task:read"
        },
        {
          "code": "task:update"
        },
        {
          "code": "task:delete"
        },
        {
          "code": "note:create"
        },
        {
          "code": "note:read"
        },
        {
          "code": "note:update"
        },
        {
          "code": "note:delete"
        },
        {
          "code": "channel:create"
        },
        {
          "code": "channel:read"
        },
        {
          "code": "channel:update"
        },
        {
          "code": "channel:delete"
        },
        {
          "code": "message:create"
        },
        {
          "code": "message:read"
        },
        {
          "code": "message:update"
        },
        {
          "code": "message:delete"
        },
        {
          "code": "taskstatus:create"
        },
        {
          "code": "taskstatus:read"
        },
        {
          "code": "taskstatus:update"
        },
        {
          "code": "taskstatus:delete"
        }
      ]
    },
    {
      "description": "Regular user with limited access",
      "name": "user",
      "permissions": [
        {
          "code": "user:read"
        },
        {
          "code": "role:read"
        },
        {
          "code": "permission:read"
        },
        {
          "code": "service:read"
        },
        {
          "code": "task:read"
        },
        {
          "code": "note:create"
        },
        {
          "code": "note:read"
        },
        {
          "code": "channel:read"
        },
        {
          "code": "message:create"
        },
        {
          "code": "message:read"
        },
        {
          "code": "taskstatus:read"
        }
      ]
    },
    {
      "description": "Team member with read access and limited write access",
      "name": "member",
      "permissions": [
        {
          "code": "user:read"
        },
        {
          "code": "service:read"
        },
        {
          "code": "task:read"
        },
        {
          "code": "note:read"
        },
        {
          "code": "task:write"
        },
        {
          "code": "note:write"
        }
      ]
    },
    {
      "description": "Read-only access",
      "name": "viewer",
      "permissions": [
        {
          "code": "user:read"
        },
        {
          "code": "service:read"
        },
        {
          "code": "task:read"
        },
        {
          "code": "note:read"
        }
      ]
    }
  ]
}
