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

Account Capabilities entitlement effectively entails all entitlements #166

Open
Tracked by #2642
turbolent opened this issue Apr 29, 2024 · 1 comment
Open
Tracked by #2642
Labels
documentation Improvements or additions to documentation

Comments

@turbolent
Copy link
Member

turbolent commented Apr 29, 2024

https://discord.com/channels/613813861610684416/1234593264196128768/1234616114307272756:

from auth(Capability) &Account it is not obvious to see it can add keys for example (by issuing account capability)

basically, granting Capabilities grants everything due to the ability to issue an account capability controller

The same applies to AccountCapabilities – it might not be obvious that it effectively grants all account entitlements.

Document potentially dangerous entitlements:

  • Contracts, AddContract: Allows adding a contract, which has access to the whole account
  • Capabilities, AccountCapabilities, IssueAccountCapabilityController: Allows issuing an account capability controller, with potentially access to the whole account
@j1010001
Copy link
Member

Too close to Crescendo feature freeze & low prio.

@j1010001 j1010001 added the documentation Improvements or additions to documentation label May 24, 2024
@turbolent turbolent transferred this issue from onflow/cadence Oct 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

2 participants