Skip to content

CheckUserPermissionResponseBody

Response indicating whether a user has a specific permission

Example Usage

typescript
import { CheckUserPermissionResponseBody } from "@meetkai/mka1/models/operations";

let value: CheckUserPermissionResponseBody = {
  allowed: false,
  user: "Aniya_Thompson11",
  permission: "writer",
  resource: "<value>",
};

Fields

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