Closed ScreamZ closed 5 years ago
Hi @ScreamZ ! It's a good idea, I added the feature to our product workshop, we will discuss it soon :)
I just tested this and it's already working:
curl -X PUT -H "Content-Type: application/json" -d '{"dynamic": "strict", "properties": { "name": {"type": "keyword"} } }' http://kuzzle:7512/users/_mapping
However you cannot see it when you use security:getUserMapping
but changing the API return would introduce a breaking change so it's will be for Kuzzle v2 only
As suggested below, this could be nice to add strict mapping to users collection.
Internal slack thread link https://kaliop.slack.com/archives/C1W3P0UKC/p1562680185067700