Roles and Permission
Roles
await ChannelRepository.addRole({
channelId: 'channel1',
userIds: ['user1'],
role: 'role1',
);
await ChannelRepository.removeRole({
channelId: 'channel1',
userIds: ['user1'],
role: 'role1',
);Permission
Last updated
Was this helpful?