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

Implement ability to assign codes to a site #23

Open
m-martinez opened this issue Nov 7, 2016 · 0 comments
Open

Implement ability to assign codes to a site #23

m-martinez opened this issue Nov 7, 2016 · 0 comments

Comments

@m-martinez
Copy link
Contributor

The site table currently only stores the machine-generated name for the site. We should re-purpose this column and allow site coordinators to manually assign a "code" for a site, such as:

apla-hucla “31"
the-hucla “33"

Unfortunately, the name directly maps to LDAP groups which will cause things to fall out of sync. For the time being we should introduce a code column and use this for the URL and reported site codes. This may impact reporting so we should coordinate with data consumers first.

TODO

  • [] Add new code column to database and corresponding audit table
  • [] Update sqlalchemy models and corresponding API endpoints to expose this field
  • [] Add new validated UI field to site modal
  • [] Update routing to use site {{code}} instead of {{name}}
  • [] Amend unit tests and add new ones
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