agex-inc / support.requests

Shared repository to collect bug reports and new feature requests
0 stars 0 forks source link

Validate adding packer user group #322

Open altemeier opened 4 years ago

altemeier commented 4 years ago

User Narrative(s)

As an admin, I do not want to accidentally make a packer user that does not meet the packer app requirements.

Background

For the new version of AGEX Packer, all packer users must be affiliates for one and only one other user (the packing plant)

Current Behavior

Admins can make any user a packer user.

Acceptance Criteria

  1. An admin user who attempts to add the packer group to a user that does not have exactly one owner is shown an error/dialog explaining the requirement
  2. The API rejects requests that violate the requirement with an HTTP 400 error.

Related Documents/Videos/Links

  1. AGEX Packer 2.0 - Concept Document
altemeier commented 4 years ago

Questions

How involved does the business team want the web app to be with regard to limiting user types? Should an admin be able to make any user a packer regardless of affiliate status and linked owner status?

If the web app is going to limit who admins can make a packer user should the app prompt an admin that a particular user is not eligible for packer status or is it enough to hide the packer option tile?

If a packer user is required to be an affiliate and have only one owner what does the "parent" account representing the actual packing house business set up look like?

Dev notes