-
I've modified the REST API, so that it returns now
isAdmin
field in returned "user" object when retrieving user data from/rest/user
(for retrieving data of authenticated user) or from/rest/user/{userJid}
(for retrieving data of user by the admin of the installation).Additionally, I've added support for changing user status, by setting
isAdmin
to the REST API call forPUT
andPOST
. Omitting theisAdmin
field, will just not change the state of the user.
Type |
Task
|
Priority |
Normal
|
Assignee | |
Version |
tigase-server-8.4.0
|
Iterations
-
tigase-server-8.4.0 Closed
Issue Votes (0)
It would be good to get information if a user is the admin of the domain (vhost) from the REST API for retrieving user details. It would also be good to be able to change if a user is the admin of the domain (set as admin/remove from admins list) using REST API for modifying user details.