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

Add account root that owns all accounts created at boot #554

Merged
merged 7 commits into from
Feb 5, 2024

Conversation

swatanabe
Copy link
Collaborator

No description provided.

- Add AuthDelegateSys that forwards auth
- Add prods-strong and prods-weak to ProducerSys
- root is authorized by prods-strong
…nly worked before because it was only being called during boot, when auth checking is disabled.
@swatanabe swatanabe marked this pull request as ready for review January 31, 2024 16:11
@James-Mart James-Mart added the Node infra Related to the necessary infrastructure provided by all psibase infrastructure providers label Feb 2, 2024
@James-Mart
Copy link
Member

PR title suggests that all accounts created by packages are owned by root, but actually they are owned by whatever sender installs them, and system packages are installed by root.

@swatanabe
Copy link
Collaborator Author

PR title suggests that all accounts created by packages are owned by root, but actually they are owned by whatever sender installs them, and system packages are installed by root.

Non-root doesn't quite work due to the restrictions on account creation

@swatanabe swatanabe changed the title Add account root that owns all accounts created by packages Add account root that owns all accounts created at boot Feb 2, 2024
@swatanabe swatanabe merged commit 0a5b5c4 into main Feb 5, 2024
3 checks passed
@swatanabe swatanabe deleted the root-account branch February 5, 2024 14:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Node infra Related to the necessary infrastructure provided by all psibase infrastructure providers
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants