Skip to content

chore: only show license expiry warning for deployment admins #14488

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

Conversation

ethanndickson
Copy link
Member

@ethanndickson ethanndickson commented Aug 30, 2024

Fixes #13939.

The expiry notice is currently only shown to users with at least one role.
Since it's reasonable to have a role but not be considered a deployment admin, we'll only show the warning if the user has permission to read the deployment config.

Stacked as CI would not otherwise pass until #14489 is merged.

Copy link
Member Author

ethanndickson commented Aug 30, 2024

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @ethanndickson and the rest of your teammates on Graphite Graphite

@ethanndickson ethanndickson requested a review from Emyrk August 30, 2024 03:53
@ethanndickson ethanndickson marked this pull request as ready for review August 30, 2024 03:53
@ethanndickson ethanndickson force-pushed the 08-30-chore_only_show_license_expiry_warning_for_deployment_admins branch from 50b9836 to 38a1f9a Compare August 30, 2024 05:32
@ethanndickson ethanndickson changed the base branch from main to 08-30-fix_delete_workspace_agent_stats_after_180_days August 30, 2024 05:32
@ethanndickson ethanndickson changed the base branch from 08-30-fix_delete_workspace_agent_stats_after_180_days to graphite-base/14488 August 30, 2024 08:30
@ethanndickson ethanndickson force-pushed the 08-30-chore_only_show_license_expiry_warning_for_deployment_admins branch from 38a1f9a to b6f8edf Compare August 30, 2024 08:30
@ethanndickson ethanndickson changed the base branch from graphite-base/14488 to main August 30, 2024 08:30
@ethanndickson ethanndickson force-pushed the 08-30-chore_only_show_license_expiry_warning_for_deployment_admins branch from b6f8edf to 5545c0d Compare August 30, 2024 08:30
Copy link
Member

@Emyrk Emyrk left a comment

Choose a reason for hiding this comment

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

Reasonable to me, much better than role checking 👍

@ethanndickson ethanndickson merged commit e5d4f35 into main Sep 2, 2024
28 checks passed
@ethanndickson ethanndickson deleted the 08-30-chore_only_show_license_expiry_warning_for_deployment_admins branch September 2, 2024 07:54
@github-actions github-actions bot locked and limited conversation to collaborators Sep 2, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

cli: license expiry warning shows for end-users, customers
2 participants