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 oldDoc is null, the usernameMatchesField always rejects the document — this makes it a hassle to use, as it requires breaking out the create action to use a different validator.
The text was updated successfully, but these errors were encountered:
To clarify, right now to use permissions.usernameMatchesField you must explicitly combine broken-out permissions with fields.creator() on the field itself for the initial validation:
When oldDoc is null, the
usernameMatchesField
always rejects the document — this makes it a hassle to use, as it requires breaking out the create action to use a different validator.The text was updated successfully, but these errors were encountered: