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
I'm not sure how to use the Auth class in my Cloud Code.
I'd like to do some security checks in my before/afterSave methods.
Is it possible to use the already created Auth instance added in req by middleware.js ?
Should I create another one using the session token ?
Should I make my own Role queries ?
Hi,
I'm not sure how to use the Auth class in my Cloud Code.
I'd like to do some security checks in my before/afterSave methods.
Is it possible to use the already created Auth instance added in req by middleware.js ?
Should I create another one using the session token ?
Should I make my own Role queries ?
Thx a lot in advance,
Olivier Allouch
www.illicotravel.com
The text was updated successfully, but these errors were encountered: