interface PolicyItem {
    id: string;
    itemType: "CategoryContributor" | "CategoryManager";
    type: "User" | "Group";
}

Properties

Properties

id: string

Id of access control entity to give access to

itemType: "CategoryContributor" | "CategoryManager"

Category role. Only managers can edit the category itself, along with its content.

type: "User" | "Group"

Type of entity (user/group)