City-of-Bloomington / blossom

A skeleton for PHP web applications
GNU Affero General Public License v3.0
3 stars 0 forks source link

Handle user account creation for unknown Employee #18

Closed inghamn closed 4 years ago

inghamn commented 7 years ago

This is happening because our Directory application is not responding with user information for people that we've not marked as public in AD. Because our dashboard is installed on our public webserver, Directory is not giving up user information unless they are marked as public.

We should improve the error messaging for this. Right now, the error message is "missing required fields", since Dashboard was not able to populate the user information from Directory. Since we only typed a username, this is correct.

We are currently allowing the Employee identity to fail silently on unknown users. We should probably make this a thrown exception, so we can let the Dashboard application report that as the error message.

Duplicate of https://github.com/City-of-Bloomington/dashboard/issues/20

inghamn commented 7 years ago

Duplicate of https://github.com/City-of-Bloomington/uReport/issues/296

inghamn commented 4 years ago

We switched back to direct LDAP interactions, by default. There is an Employee class in the example data/src