Skip to content
Back

Roles Enum Limitation in Kotlin SDK

  • 0
  • Android
BAD BOY
9 Feb, 2026, 20:47

The createMembership method in the Appwrite Kotlin SDK now requires List<io.appwrite.enums.Roles> instead of List<String>, but the predefined Roles enum only contains three values (ADMIN, DEVELOPER, OWNER), preventing the use of custom roles like "customer" which are essential for team-based applications.

TL;DR
The Appwrite Kotlin SDK now requires List<io.appwrite.enums.Roles> instead of List<String> for createMembership method. The predefined Roles enum (ADMIN, DEVELOPER, OWNER) limits customization for roles like "customer" in team-based applications.
Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more