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] add capabilities at runtime #8799

Closed
lucasfernog opened this issue Feb 6, 2024 · 1 comment
Closed

[feat] add capabilities at runtime #8799

lucasfernog opened this issue Feb 6, 2024 · 1 comment

Comments

@lucasfernog
Copy link
Member

Describe the problem

The ACL system implemented by #8428 is a static implementation of access control for IPC commands. Dynamic usage like starting a localhost server that needs access to the IPC is not supported securely.

An example is the localhost plugin which starts a localhost server to serve your app assets.
To support this use case, we need to add a runtime API that lets you allow commands on a specific execution context.

Describe the solution you'd like

Add a new function in the runtime authority to enable new permissions.

Alternatives considered

No response

Additional context

No response

@lucasfernog
Copy link
Member Author

This is similar to #8798 but adding the capability at runtime is better for performance and validation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant