Permission Contracts
Data access, reading or writing data, in a PDA must be permitted by the user.
In case one application requires data access to a namespace, it has to explicitly request permission from the user. This mechanism of asking permission from the user is called an application's Permission Contracts (renamed from HAT Microserver Instructions or HMI).
It forms a legally binding contract between you, the developer, and your user. In particular, you are requesting data from user's PDA, through what we call a data debit. DataSwift will ensure that the contract, for that application, is shown and confirmed immediately after creating user’s PDA within your application, so you can then freely write and read from the PDA without creating any further additional burden for the user.
All applications, by default, have read and write access to the specified namespace. If you wish to access other data within the PDA but not within your namespace, an additional data debit/Permission Contracts would need to be confirmed with the user.
Last modified 1yr ago
Copy link