Overview

Stream Chat ships with a configurable permission system that allows high resolution control over what users are permitted to do. There are two versions available, so before diving into the documentation, it is important to understand which version of permissions you are using :

// To check your permissions version (server side only)
var app = App.get().request(); 
System.out.println(app.getApp().getPermissionVersion()); // "v1" or "v2"

Based on your version and use case, pick a page to learn more:

  1. Permissions v1

  2. Permissions v2

  3. Migrating from Legacy

  4. Multi-Tenancy - grouping users into teams (or tenants) to keep their data strictly segregated.

© Getstream.io, Inc. All Rights Reserved.