ozoneplatform / owf-framework

OZONE Widget Framework
http://ozoneplatform.org
Apache License 2.0
329 stars 143 forks source link

SecurityFilters.groovy bug in updateUserGroups function #82

Closed DTalpas closed 8 years ago

DTalpas commented 8 years ago

After integrating OWF with LDAP, the SQL statement here is not executing:

def addQuery = "INSERT INTO owf_group_people (person_id, group_id) VALUES (?, ?)"

in SecurityFilters.groovy

After inspection of the database, the record simply is not inserted.

When the SQL statement is run manually, the user is added to the group as expected.

The groups show up correctly, the users show up correctly. But the groups do not have any users, even after an explicit user log in (I believe that process is dynamic).

After a user logs in, they should belong to the group, but the user count is still 0.

If I manually add the user to the group via the OWF admin tool, the user shows up in the group, but the desired functionality is automatic (since the user already belongs to the group in LDAP).

Any ideas?

Thanks, Dan

DTalpas commented 8 years ago

This seems to only be an issue with OWF 7.17, will add a new issue with steps to recreate.