flask.g.fas_user.cla_done = "Fedora Project Contributor Agreement" in (OIDC.user_getfield("agreements") or []) doesn't work.
flask.g.fas_user.cla_done = "Fedora Project Contributor Agreement" in (OIDC.user_getfield("agreements") or [])
In theory, abompard says that we can use the signed_fpca group, but that doesn't show up in a list of groups. I'm not sure if that's because something's still using the old accounts system or if something is broken.
signed_fpca
I suspect that maybe flask_fas_openid is getting in the way. But I'm not sure.
@pingou if you have a chance to look at this in the morning, let me know. I'll try to get up early to help throw some more ideas at it
Turns out the group check was broken because iddev.fic.o is still using the old account system. So local testing will be broken until it is upgraded or another target for oidc-connect is available.
oidc-connect
It's not clear why checking for agreements didn't work, but since staging is configured properly, the group check works as expected.
Metadata Update from @bcotton: - Issue close_status updated to: Fixed - Issue status updated to: Closed (was: Open)
Login to comment on this ticket.