Skip to content

CheckGroupPermissionResponse

Response indicating whether a group has a specific permission

Example Usage

typescript
import { CheckGroupPermissionResponse } from "@meetkai/mka1/models/components";

let value: CheckGroupPermissionResponse = {
  allowed: false,
  group: "<value>",
  permission: "writer",
  resource: "<value>",
};

Fields

FieldTypeRequiredDescription
allowedboolean✔️True if the group has the requested permission, false otherwise
groupstring✔️The group ID that was checked
permissioncomponents.Permission✔️Permission level for the resource. Options: "reader" (view only), "writer" (view and modify), "owner" (full control)
resourcestring✔️The resource ID that was checked