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

Feat(permissions): add command permissions #169

Draft
wants to merge 8 commits into
base: main
Choose a base branch
from

Conversation

mezotv
Copy link
Contributor

@mezotv mezotv commented Oct 5, 2024

Closes #155

@mezotv mezotv requested a review from a team as a code owner October 5, 2024 18:55
Copy link

changeset-bot bot commented Oct 5, 2024

🦋 Changeset detected

Latest commit: 217216a

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 3 packages
Name Type
@buape/carbon Minor
create-carbon Patch
@buape/carbon-nodejs Major

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@mezotv mezotv marked this pull request as draft October 5, 2024 18:55
@github-actions github-actions bot added the p:carbon The carbon package label Oct 5, 2024

This comment was marked as outdated.

@mezotv mezotv marked this pull request as ready for review October 5, 2024 18:59
Copy link
Member

@thewilloftheshadow thewilloftheshadow left a comment

Choose a reason for hiding this comment

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

While this does technically work and will deploy, I'd like to add a bit more DX for it. Maybe passing an array from an enum of permissions?

Additionally, the subcommand and subcommand groups currently won't work. They don't error because they're still abstract within Carbon, but if you check the test command for them, you'll see the errors there.

@mezotv mezotv marked this pull request as draft October 5, 2024 21:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
p:carbon The carbon package
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Command Permissions
2 participants