9.4.3.2. Authorization

The API applies an access policy that is common and easy to understand, so you do not need to learn a complex ACL to handle permissions properly in your Rest client.

There is just a simple thing to learn: All authenticated users are regular users, administrators and space managers have some privileges.

Space manager

When a user creates a space, he is the space manager by default. The space manager has some privileges:

Regular users can leave spaces and can join open spaces.

You can check who is the manager of a specified space:

GET /v1/social/spaces/{space_id}/users?role=manager

Platform Administrators

Members of /platform/administrators have some privileges:

Currently there is no Rest API to directly check if the authenticated user is an administrator.

Copyright ©. All rights reserved. eXo Platform SAS
blog comments powered byDisqus