-
Task
-
Resolution: Fixed
-
L3 - Default
-
None
-
1
-
S
When a user is added to the collection in SaaS mode, a text string can be entered to find that user. If the user doesn't match a search result in Optimze's cache, the request is forwarded to the accounts service. However, this doesn't make sense as cloud users can never know their ID, and the ID is the only means for retrieving users at this endpoint.
Optimize should instead not allow this secondary fetching, and only allow the addition of users that do exist in the cache.
Notes:
- These requests were highlighted as erroneous by the cloud team. In the case of many requests, it could even cause an issue of preventing use of the accounts service
- The implication of this change is that users can only be added to a collection if they do exist in a cache. New users may have to wait until the cache is repopulated before they are granted access to collections
- If these requests are shown to be causing problems, it might be that we need to provide a patch for this going forward