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

Extend provisioning to support collections at a project level #2830

Open
Tracked by #2815
stuartc opened this issue Jan 16, 2025 · 0 comments
Open
Tracked by #2815

Extend provisioning to support collections at a project level #2830

stuartc opened this issue Jan 16, 2025 · 0 comments

Comments

@stuartc
Copy link
Member

stuartc commented Jan 16, 2025

Background

Lightning’s Project Spec documentation outlines how to define and manage resources in a project.yaml file. However, we currently have no way to define Collections in the spec. Collections can be accessed (but not created) via the CLI (see docs), and we’d like to add this functionality to our project.yaml so that everything can be configured in one place.

# project.yaml
name: MyProject
collections:
  - name: my-first-collection

or

# project.yaml
name: MyProject
collections:
  - my-first-collection
  # this is shorthand for name: my-first-collection

Requirement

Extend the current provisioning API to handle a collections key on the root of the document. Parsing, validating and create/update/deleting collections in the same way other entities are handled.

Open questions

Do we care about permissions? Can anyone who can create/update a workflow also create/delete a collection?

@github-project-automation github-project-automation bot moved this to New Issues in v2 Jan 16, 2025
@stuartc stuartc changed the title Extend project.yaml to support collections at a project level (create, rename, or delete collections. there is nothing related to the items in the collection yet.) Extend provisioning to support collections at a project level Jan 16, 2025
@stuartc stuartc moved this from New Issues to Backlog in v2 Jan 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Backlog
Development

No branches or pull requests

1 participant