You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
During login, an unexpected/strange query to the elasticsearch (ES) is made and it fails because ACL doesn't have any entries in ES and even though the result set should be empty, there isn't any _uid to sort on and that errors out in ES:
But mongo doesn't barf on it! It tolerates it and returns an empty result set.
Next Steps
I need to make ES more tolerant via the connector somehow
@raymondfeng or @bajtos - what is this no-op query all about? Why does it exist at all? Checking ACL for user model via connector for EXECUTE permissions on login method seems like a no-op to me, since ACL table/collection is never created, even in other connectors like mongo.
The text was updated successfully, but these errors were encountered:
AFAIK, LoopBack authentication requires you to attach ACL to a datasource, similarly to other auth models like Role and RoleMapping.
it fails because ACL doesn't have any entries in ES and even though the result set should be empty, there isn't any _uid to sort on and that errors out in ES:
I don't have enough knowledge about ES to help here. I would expect that automigrate/autoupdate should create an empty ACL table/connection in ES.
During login, an unexpected/strange query to the elasticsearch (ES) is made and it fails because ACL doesn't have any entries in ES and even though the result set should be empty, there isn't any
_uid
to sort on and that errors out in ES:I ran this on mongodb connector and apparently this unexpected query exists there too:
But mongo doesn't barf on it! It tolerates it and returns an empty result set.
Next Steps
ACL for user model
via connector forEXECUTE permissions on login method
seems like a no-op to me, since ACL table/collection is never created, even in other connectors like mongo.The text was updated successfully, but these errors were encountered: