Skip to content

feat: add demo command#3100

Open
paegun wants to merge 3 commits into
authzed:mainfrom
paegun:feature/cli-demo-command
Open

feat: add demo command#3100
paegun wants to merge 3 commits into
authzed:mainfrom
paegun:feature/cli-demo-command

Conversation

@paegun

@paegun paegun commented May 7, 2026

Copy link
Copy Markdown

Description

Add a demo command to the spicedb cli.

When spicedb is executed with the demo command and a sample dataset name, a test server is launched and the same dataset is loaded.

Sample datasets harvested from https://github.com/authzed/examples/blob/main/schemas .

Testing

Manually ran each demo sample dataset and used zed to connect and permission check for:
[X] subject granted permission to resource
[X] subject is not granted permission to resource
[X] subject does not exist
[X] resource does not exist
[X] permission does not exist

For example:

spicedb demo --dataset github
zed permission check repository:authzed_go admin user:jimmy

References

#24

@paegun paegun marked this pull request as ready for review May 7, 2026 22:17
@paegun paegun requested a review from a team as a code owner May 7, 2026 22:17
@github-actions github-actions Bot added area/cli Affects the command line area/tooling Affects the dev or user toolchain (e.g. tests, ci, build tools) labels May 7, 2026
@github-actions

github-actions Bot commented May 7, 2026

Copy link
Copy Markdown

CLA Assistant Lite bot All contributors have signed the CLA ✍️ ✅

@paegun

paegun commented May 7, 2026

Copy link
Copy Markdown
Author

I have read the CLA Document and I hereby sign the CLA

authzedbot added a commit to authzed/cla that referenced this pull request May 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/cli Affects the command line area/tooling Affects the dev or user toolchain (e.g. tests, ci, build tools)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant