getAllChannels

abstract fun getAllChannels(getAllChannels: Boolean): Grant

Set to true to allow the auth keys to list all channel metadata on the keyset (getAllChannelsMetadata). A get on a named channel doesn't imply this.

When this or getAllUUIDs is true:

  • the get permission is sent automatically;
  • permissions are shared by every resource in the request, so get is also granted on the listed channels, channel groups and uuids;
  • the server rejects the request if any other permission is set, or if no auth keys are given.

Revoking only the category permissions isn't supported. To remove them, revoke all permissions for the auth key (grant().authKeys(Collections.singletonList(key))), which also removes its other key-wide permissions.