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

Unique names per institution #225

Open
dandavies99 opened this issue Dec 6, 2022 · 0 comments
Open

Unique names per institution #225

dandavies99 opened this issue Dec 6, 2022 · 0 comments

Comments

@dandavies99
Copy link
Contributor

dandavies99 commented Dec 6, 2022

Currently, models that inherit from BaseModelMandatoryName must have a unique name. Because of the object-level permission setup, the situation could arise that a user cannot name an object of one of those models what they want because a user in another institution has already created an object with that name.

This many not be much of a problem in practice, but if it does become one, it can be resolved by applying the per-institution unique constraint to those models that is used in the clean method of the Experiment model.

Aha! Link: https://imperial-college-ict.aha.io/requirements/RSE-138-1

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

No branches or pull requests

1 participant