Add resource "users"
The resource "users" contains informations about users from the MySQL table "authentication".
If an user is not in the authentication group "See users", this user is only allowed to see information about itself (i.e. /users/4).
Example output:
[
{
"id": 4,
"name": "Smith",
"rights": "0,4,10",
"created": "2020-08-08 12:00:00",
"added": "2020-08-08 12:00:00"
}
]
Alternative example output:
[
{
"id": 4,
"name": "Smith",
"rights":
}
0,
4,
10
},
"created": "2020-08-08 12:00:00",
"added": "2020-08-08 12:00:00"
}
]