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
Would it be a good idea to use an _id field instead of the AUTH_USERFIELD_NAME to allow a specific user to access/update only the resources he created?
If a user changes his username, he would have to change every document he own and update their username field.
The text was updated successfully, but these errors were encountered:
Hello, you can set AUTH_USERFIELD_NAME to whatever field name you want, ID_FIELD (_id) included. See the docs (probably need to expand with a code snippet).
Hello!
Would it be a good idea to use an
_id
field instead of theAUTH_USERFIELD_NAME
to allow a specific user to access/update only the resources he created?If a user changes his username, he would have to change every document he own and update their username field.
The text was updated successfully, but these errors were encountered: