Skip to content
New issue

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

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

Already on GitHub? # to your account

Only Allow Users to Select from Active Licenses #308

Merged

Conversation

bencap
Copy link
Collaborator

@bencap bencap commented Oct 22, 2024

During score set creation, we now only display active licenses to the user for selection. Because some score sets may have licenses selected which are no longer active, these licenses may be retained if they exist on a score set, but are un-selectable otherwise. Once a user updates a score set to get rid of such licenses, they will no longer be selectable. In addition, a new warning is displayed while editing such score sets so users are notified they are using a deprecated license.

Coupled to VariantEffect/mavedb-api#344

During score set creation, we now only display active licenses to the user for selection. Because
some score sets may have licenses selected which are no longer active, these licenses may be retained
if they exist on a score set, but are un-selectable otherwise. Once a user updates a score set to get
rid of such licenses, they will no longer be selectable. In addition, a new warning is displayed while
editing such score sets so users are notified they are using a deprecated license.
@bencap bencap requested review from jstone-dev and sallybg October 22, 2024 23:56
@bencap bencap linked an issue Oct 22, 2024 that may be closed by this pull request
Copy link
Collaborator

@jstone-dev jstone-dev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

See my comment on VariantEffect/mavedb-api#344. If you decide it's necessary to allow deprecated licenses on superseding score sets, then a UI change would be needed too. Otherwise, all good.

@bencap bencap changed the base branch from main to release-2024.4.2 November 18, 2024 22:37
@bencap bencap merged commit 5ff6ff4 into release-2024.4.2 Nov 18, 2024
@bencap bencap deleted the maintenance/bencap/74/update-permitted-licenses branch November 18, 2024 22:38
@bencap bencap linked an issue Nov 20, 2024 that may be closed by this pull request
@bencap bencap mentioned this pull request Nov 21, 2024
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Updating permitted data licenses
2 participants