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

Add admin-only views for creating and setting billing IDs #566

Merged
merged 3 commits into from
Sep 27, 2023

Conversation

matthew-li
Copy link
Collaborator

Changes

  • Added an admin view (Admin > LBL Project IDs: Create button) for creating a billing ID, with logic identical to the create subcommand of billing_ids described in Enable listing of billing IDs from the command-line #559.
    • The view is only accessible to superusers.
  • Added an admin view (Admin > LBL Project IDs: Pencil icon in individual table rows) for setting the billing ID for a particular Project, ProjectUser, or User, with logic nearly identical to the set subcommand of billing_ids described in Enable listing of billing IDs from the command-line #559.
    • The view is only accessible to superusers.
    • One difference in the logic:
      • If a Project or ProjectUser does not currently have a billing ID, one cannot be set from the UI, while it can from the CLI, so the latter must be used.
      • If a User does not currently have a billing ID, one can be set from either the UI or the CLI.

@matthew-li matthew-li merged commit be6da5f into develop Sep 27, 2023
@matthew-li matthew-li deleted the billing_ids_admin_ui branch September 27, 2024 18:19
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

Successfully merging this pull request may close these issues.

1 participant