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

Support for Unlisted and Private Snippets #101

Open
seveibar opened this issue Oct 21, 2024 · 0 comments
Open

Support for Unlisted and Private Snippets #101

seveibar opened this issue Oct 21, 2024 · 0 comments
Labels

Comments

@seveibar
Copy link
Contributor

  • Add property is_public to snippets
  • Add property is_unlisted to snippets
  • Add property is_private to snippets
  • Add computed property display_visibility="private" | "unlisted" | "internal" | "public"

(internal is for when we have orgs)

Support displaying these labels on the snippets

Alter what snippets are returned and add tests for e.g. /snippets/list and /snippets/get as well as other endpoints

Can introduce new auth middleware to perform check too!

@seveibar seveibar added the elite label Oct 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant