Skip to content

feat(cli): update template with permissions and capabilities#8666

Merged
lucasfernog merged 2 commits into
devfrom
feat/update-cli-template-permissions
Feb 1, 2024
Merged

feat(cli): update template with permissions and capabilities#8666
lucasfernog merged 2 commits into
devfrom
feat/update-cli-template-permissions

Conversation

@lucasfernog
Copy link
Copy Markdown
Member

No description provided.

@lucasfernog lucasfernog requested a review from a team as a code owner January 24, 2024 14:33
"window:default",
"webview:default",
"app:default",
"resources:default",
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

do we want to enable this by default? or better can menu:default and tray:default include this permission? because resources is kinda internal and users should not need to deal with it.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

right now there's no way for a plugin to enable commands on other plugins.. but we can adapt core to ignore permission checks for the resources plugin worst case

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

is that for a security reason or just not implemented?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

doesn't make much sense really.. but i can include a set of permissions that are enabled by default

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

we can include all core plugin default permissions automatically.. then the user can deny the functions he doesn't want.. what do you think @chippers

@lucasfernog lucasfernog merged commit f492efd into dev Feb 1, 2024
@lucasfernog lucasfernog deleted the feat/update-cli-template-permissions branch February 1, 2024 11:53
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.

2 participants