BitShares Forum
Main => Technical Support => Topic started by: alt on December 07, 2015, 02:33:57 am
-
with api update_asset, I can remove a permission, but can't add a permission.
from the source code asset_evaluator.cpp, seems don't allow add permission
270 // new issuer_permissions must be subset of old issuer permissions
271 FC_ASSERT(!(o.new_options.issuer_permissions & ~a.options.issuer_permissions),
272 "Cannot reinstate previously revoked issuer permissions on an asset.");
273
so how should I do if I want to add a permission for my private asset?
-
Aren't all permissions 'enabled' by default and you can opt-out but not re-enable?
-
Aren't all permissions 'enabled' by default and you can opt-out but not re-enable?
yes, Just curious why work like this
-
It's to protect the buyers of a token from arbitrary misbehavior of the issuer ..
Once the permissions are removed, you can be sure that the issue will not skrew you over .. until then, you have to live with the risk or don't invest
-
It's to protect the buyers of a token from arbitrary misbehavior of the issuer ..
Once the permissions are removed, you can be sure that the issue will not skrew you over .. until then, you have to live with the risk or don't invest
thanks, I almost understand how it work.
If I want to temp switch on/of a permission, I should change flags instead of issuer_permissions
-
Where can I see info on all the permissions? I created a token, kept everything as default because I would like to better understand what each choice does and its intended consequences.