1
0
mirror of https://github.com/oceanprotocol/docs.git synced 2024-11-26 19:49:26 +01:00
docs/content/concepts/roles.md

26 lines
803 B
Markdown
Raw Normal View History

2021-09-28 12:13:55 +02:00
---
title: v4 roles and permissions
description: The page describes the roles and permissions present in ERC721Template contract.
---
## Roles
[ERC721Template](https://github.com/oceanprotocol/contracts/blob/v4Hardhat/contracts/templates/ERC721Template.sol) contract defines following roles:
- NFT Owner
- Manager
2021-09-28 12:13:55 +02:00
## NFT Owner
- NFT Owner is the publisher. I.e. Owner is a public address which transacted with `ERC721Factory` contract and deployed a new `ERC721` contract.
- NFT Owner can assign managers while deploying the contract.
- NFT Owner is also added to the Managers.
- NFT Owner can add/remove Managers.
- Clean all permissions
2021-09-28 12:13:55 +02:00
## Manager
- A public address with a `Magner` role can update the metadata
- Can deploy new ERC20 contract which is associtated with the `ERC721` contract.