SDK
...
Payload
User Roles
what is a user role? user roles on socratease are used to determine the default route to take your user for example, if you initialize the socratease library with role='admin' , and didn't pass a url key, the user will be taken to yourwebsite com/learning/admin functionality for example, if role='student', the user will not be able to create their own content types of roles user roles on socratease are enum s the different roles are role name description default path path restricted to user the default role /content/home ca content admin for creating/managing content /cms/home teacher for creating and managing classrooms /teacher/home org admin organisation admin, someone who is the admin of schools/companies, etc /org admin/home org admin student for accessing classroom content /student/home admin manage your entire property set other users' roles, add organizations, view analytics, etc /admin/home super admins