zikula-modules/Legal — Issue #5: Validation: if uid of acct != uid for Legal part of validation, then fail
Author: rmburkhead
Created: 2011-12-19 06:59:37+00:00
State: open

When validating a modified user record (either a user modifying his own, or an admin modifying any), if the uid for policy acceptance (`acceptedpolicies_uid`) does not match the uid on the parent user record, then nothing bad happens, and probably should.

See `if ($goodUidUser && $goodUidAcceptPolicies && ($user['uid'] == $uid)) {` near line 395 and `} elseif (!$goodUidUser || !$goodUidAcceptPolicies) {` near line 411