Correcting the ability to request item previously associated with a child,when partner is not allowed to request the item
Summary
Partners are allowed to select from a subset of all the items the essentials bank offers. This is governed through partner groups.
When the partner enters a child into the system, they also indicate the Diaper/Item used by the child. The partner selects from the items they are allowed to request.
Then, when making a request through the "Child" Subsection, the partner selects the child that the request is for.
If the partner is in a group that is not able to select the item associated with the child, the partner should not be able to make a request for that child. I suggest we could still list the child, but the toggle should be replaced with the words "Item not requestable"
Things to Consider
This definitely interacts with something from the May stakeholder circle -- (from Sean's notes) "3) We should have toggles?/checkboxes?/something on the partners to denote if they distribute diapers or period supplies/adult incontinence. Or both. If they don't distribute diapers we shouldn't show the families and children information on the partner side."
Depending on how we attack that, it could render this issue moot.
Criteria for Completion
- [ ] If the partner can not request the item associated with the child, replace the toggle in the child request with "Item not requestable"
- [ ] Add a test proving that it works
I think this will be rendered moot by #3091, but confirm before closing
@cielf is that the correct issue you are referencing that would make this not needed?
@cielf will verify that this is now moot
It's not moot I do think it's low priority, though. The situation would have to be something like that a partner had been allowed period supplies at one point [and had selected them for a child], and then wasn't allowed period supplies.
We agree that it's a potential quirk/bug in the app, but it should be rare enough that we can focus on other things.