Update Desk Number in phonebook to use WPR/Workday supplied values

RESOLVED FIXED

Status

Webtools
Phonebook
RESOLVED FIXED
2 years ago
2 years ago

People

(Reporter: jabba, Assigned: rtucker)

Tracking

Trunk

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

2 years ago
We have new values in our workday report that gets imported to LDAP. These are automated and come from WPR's centerstone app.

We need to stop displaying the current desknumber attribute in phonebook (don't remove it form LDAP yet, until we are done with this project).

Then, for each user they might have WPRDeskNumber and WPRDeskNumberNotes, or just the first, or possibly none.

Logic:

If a user has WPRDeskNumber attribute *and* the value is *not* "off-site", then display the value next to the desk icon for all users to see.

If a user also has "WPRDeskNumberNotes" attribute, display the value below the WPRDeskNumber value.

There shouldn't be any users with only WPRDeskNumberNotes and no WPRDeskNumber.

If a user has neither attribute *or* if the user has WPRDeskNumber=off-site, then don't display the desk number section at all.

On the edit page:

Always display the desk icon section with the value (even if it's off-site or none) and display the standard message "If this value is incorrect, contact your HRBP"
(Reporter)

Updated

2 years ago
Assignee: nobody → rtucker
(Assignee)

Comment 1

2 years ago
Code has been written and tested. Created a PR to be merged and then deployed.

https://github.com/mozilla/phonebook/pull/34
Fix deployed to production, CHG0010767.
Status: NEW → RESOLVED
Last Resolved: 2 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.