Skip to content

Commit

Permalink
Update cadence/20230913-restrict-capabilities-publish.md
Browse files Browse the repository at this point in the history
Co-authored-by: Bastian Müller <[email protected]>
  • Loading branch information
bluesign and turbolent committed Oct 24, 2023
1 parent 22ca839 commit 946773d
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion cadence/20230913-restrict-capabilities-publish.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,11 @@ updated: 2023-09-13

## Objective

With current controller capabilities, it is possible to re-publish someone else's public capability; as this shift in behavior can cause problems, this FLIP strives to address this issue with minimal disruption.
With the new controller-based capability API, introduced in [FLIP 798](https://github.com/onflow/flips/blob/main/cadence/20220203-capability-controllers.md), it is possible to re-publish someone else's capability (with `Account.capabilities.publish`).

This was not possible in the previous/currently available linking-based capability API, the function `AuthAccount.link` does not allow targeting another account.

As this shift in behavior can cause problems, this FLIP strives to address this issue with minimal disruption.

## Motivation

Expand Down

0 comments on commit 946773d

Please sign in to comment.