-
Notifications
You must be signed in to change notification settings - Fork 36
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 Mutability to Properties #198
Comments
This can also start the discussion on |
Removing the So it seems the Property should map to an object that is I assume the issuer should be able to update the properties if the property is mutable but the issuer is not the owner, correct? |
initial attempts to implement this failed, running into an issue refactoring because of rmrk-substrate/pallets/rmrk-core/src/functions.rs Lines 753 to 764 in d2d508d
tried changing the after changing
but there's some type mismatch happening here that I can't figure out. |
Currently only the
issuer
can set aProperty
& if a NFT islocked
then theProperty
cannot be changed or removed. Based on the spec setproperty.md, the user should be able to customize these properties if they are mutable. We have also run into this problem with flexibility for a project on Phala utilizing RMRK NFTs.If we take a look at the logic here, the only way to update a
Property
for a NFT is if the Collectionissuer
is thesender
AND theissuer
owns the NFT.rmrk-substrate/pallets/rmrk-core/src/functions.rs
Lines 48 to 69 in a3abdac
The text was updated successfully, but these errors were encountered: