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
(for the short-term) Front-End Creation of a FireUser/FireUser Type
if the user has no corresponding pendingUser entry, change needsPromotion to undefined and proceed with usual
Firebase Functions: onUserCreate
on the successful promotion of a user, changes the field needsPromotion to undefined
Security Rules for pendingUsers
write, read access: professor
read access: student whose email matches the pending users doc's id. (Is this reliable?????)
"Back-end"
extend type of FireUser to include needsPromotion: true | undefined = true
Front-end (Talk to the designers about this.)
On the creation of a new user (isNormalEditingMode = false):
useEffect() conditioned on [needsPromotion]: stop the animation only when needsPromotion becomes undefined
The text was updated successfully, but these errors were encountered:
ngwattcos
changed the title
Security Rule Requests for pendingUsers
Configure (Security Rules, Front-end) for loading pending users (wait time)
Jan 22, 2021
(for the short-term)
Front-End Creation of a FireUser/FireUser Type
pendingUser
entry, changeneedsPromotion
toundefined
and proceed with usualFirebase Functions: onUserCreate
needsPromotion
toundefined
Security Rules for
pendingUsers
"Back-end"
needsPromotion: true | undefined = true
Front-end (Talk to the designers about this.)
On the creation of a new user (
isNormalEditingMode
= false):needsPromotion
becomesundefined
The text was updated successfully, but these errors were encountered: