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
When calling .reindex on a model, a temporary index is created, with the .tmp prefix.
In my case, I'm limiting my API keys access to a specific index name pattern (*_development for instance), so the reindex fails because the .tmp index can't be accessed.
Steps To Reproduce
Create an API key limited to *_development
Create a model such as Page, when the corresponding index name is Page_development
Call Page.reindex and see it fail
I'm not sure what the best way to handle this case is... maybe always allow the .tmp-prefixed models for any API key?
The text was updated successfully, but these errors were encountered:
Description
When calling
.reindex
on a model, a temporary index is created, with the.tmp
prefix.In my case, I'm limiting my API keys access to a specific index name pattern (
*_development
for instance), so the reindex fails because the.tmp
index can't be accessed.Steps To Reproduce
*_development
Page
, when the corresponding index name isPage_development
Page.reindex
and see it failI'm not sure what the best way to handle this case is... maybe always allow the
.tmp
-prefixed models for any API key?The text was updated successfully, but these errors were encountered: