Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Program user unique indices #1528

Open
wants to merge 4 commits into
base: program-user-update
Choose a base branch
from

Conversation

swalker2m
Copy link
Contributor

Per ShortCut 3151, changes the uniqueness constraints on program user / user links such that:

  • A user cannot occupy the same role twice in the same program.
  • A user cannot be more than one of PI, CoI, CoI-RO in the same program.
  • A user can be one of Pi, CoI, CoI-RO and at the same time a support user.
  • A user can be both the primary and secondary support for a program.

@mergify mergify bot added the service label Dec 20, 2024
@swalker2m
Copy link
Contributor Author

Note, this is an addendum to #1522.

@swalker2m
Copy link
Contributor Author

This will simply allow multiple ProgramUser entries to be associated with the same User. Obviously that's annoying because all the attributes (names, email) are duplicated. Another approach would allow one ProgramUser to have multiple roles. That's more complex, but I could switch to that if necessary.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant