fedora-infra / freeipa-fas

IPA schema extensions for FAS
GNU General Public License v3.0
12 stars 16 forks source link

As someone who cares about legal issues, I want a newly registered user to not be able to join groups until after signing the CLA, so that legal compliance is achieved. #46

Closed sfinn85 closed 7 months ago

puiterwijk commented 4 years ago

This is something that we may be able to enforce on the FreeIPA side? @tiran can maybe tell us whether that's feasible (depending on how FPCA is stored probably)?

tiran commented 4 years ago

It might be possible to archive this with a pre-callback on the group_add_member plugin. This would enforce the restriction on the IPA API layer.

ryanlerch commented 4 years ago

After this was initially filed, this feature has been expanded out a little, as we now need to support more and one "agreement". And a user may have an account, and not have signed any of the agreements.

So on the freeipa-fas side, we need the following (i think):

tiran commented 4 years ago

Also see https://github.com/fedora-infra/freeipa-fas/pull/105#issuecomment-639424507