Closed scottinet closed 6 years ago
Profiles restriction format are not enforced correctly: profiles with restricted collections
set as a string (instead of an array) are accepted by Kuzzle.
This leads to the response seen here: a string parsed as though it was an array.
A fix will be submitted ASAP to prevent profiles with invalid format to be accepted by Kuzzle.
@plavacquery wrote:
Wrong response from Kuzzle when retrieving user rights.
Expected Behavior
Expected response from Kuzzle :
Current Behavior
Actual response from Kuzzle :
You can see that we received a list which each letter of the 'a66-private' collection correspond to the letter in the collection fields
Possible Solution
Steps to Reproduce
a66
and a collectiona66-private
getUserRights
route from the APIContext (Environment)
Kuzzle : 1.2.13
Discussion taken from that issue: https://github.com/kuzzleio/documentation/pull/474