-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
myndla-api: Add arenaAccepted
flag on myndla users
#580
Conversation
val arenaAccepted = updatedUser.arenaAccept match { | ||
case Some(true) if arenaEnabled => true | ||
case Some(false) => false | ||
case _ => domainUserData.arenaAccepted | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Skal det være mulig å trekke tilbake godkjenningen? 🤔
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Kan spørre.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ja, men då bør vi egentlig legge til at om du trekker tilbake godjenning så må brukeren slettes i nodebb.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Kanskje legge inn en TODO på det.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Jeg ser for meg at en todo som bare lever i kodebasen vil bli liggende for alltid om vi ikke har noe system for å fikse de.
Men kanskje lage et issue? 😄
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
This is currently just a dumb boolean field that a user can set that the frontend can use to determine whether or not it should link to arena.
7af794a
to
e1e8f45
Compare
Fixes NDLANO/Issues#4269