BitShares Forum

Main => General Discussion => Topic started by: bitcrab on December 12, 2015, 03:01:42 pm

Title: possible to modify permissions?
Post by: bitcrab on December 12, 2015, 03:01:42 pm
I tried a lot to modify permissions, but the progress is always stuck while adding account+weight item in the GUI.

(http://i5.tietuku.com/1c4761f7aaa14ecd.png)

also seems there's no command line to do this?

anyone has succeeded on doing this?

please help.

 
Title: Re: possible to modify permissions?
Post by: svk on December 12, 2015, 04:29:31 pm
There was a bug in that page that I've fixed but don't think it's live yet.
Title: Re: possible to modify permissions?
Post by: bitcrab on December 13, 2015, 02:01:46 am
There was a bug in that page that I've fixed but don't think it's live yet.

thanks svk, then will it be live in the next version light wallet?
Title: Re: possible to modify permissions?
Post by: bitcrab on December 18, 2015, 11:48:40 am
now I succeeded to add 2 accounts baozi and harvey-xts, but when I try to add account "gulu", below  error always appeared:

(http://i4.tietuku.com/eab73416fd9781e7.png)

any thoughts? @svk
Title: Re: possible to modify permissions?
Post by: xeroc on December 18, 2015, 12:38:32 pm
If you have several OWNERs in a multisig scheme that has a threshold of more than 1, then you need to use proposals and approvals to change them again.

That is currently only possible via cli_wallet and ONLY if you cherry-pick a proper patch from graphene, otherwise you won't have the required call "propose_builder_transaction2" available.
http://docs.bitshares.eu/bitshares/tutorials/propose-transaction.html

I would not recommend to change owners right now unless you REALLY know what you are doing.
@jcalfee is working on proposed transactions for the GUI, but it may take some more time to have it fully integrated and available in the GUI!
Title: Re: possible to modify permissions?
Post by: bitcrab on December 18, 2015, 03:40:21 pm
If you have several OWNERs in a multisig scheme that has a threshold of more than 1, then you need to use proposals and approvals to change them again.

then how about to keep the threshold as 1 but set the weight of the owners to such as 0.4,0.2 etc, also need proposals and approvals?
Title: Re: possible to modify permissions?
Post by: xeroc on December 18, 2015, 03:44:27 pm
then how about to keep the threshold as 1 but set the weight of the owners to such as 0.4,0.2 etc, also need proposals and approvals?
In order to change an account you need to have enough authority to do so ..
if the threshold currently is 1 and your account has weight 1 .. then you are good to go .. if your account has a weight that is smaller than the threshold .. then you need other authorities to approve what you are trying to do .. and that requires a proposal
Title: Re: possible to modify permissions?
Post by: puppies on December 18, 2015, 06:15:14 pm
I think the easiest way to do it would be to add your accounts and set their weights accordingly, and set the required weight to a low amount as well.  Then in the CLI increase the required weight with a proposal.

For example if you wanted to have a 3 of 4 scheme you could add all 4 keys and give them each a weight of 30.  On the same transaction you should be able to set the required weight down to 30 as well.  This will allow you to set up the keys in the gui.  Once you have this done, then you will just need to set up a proposal in the CLI to increase the required weight to 90 and have 3 of 4 approve that transaction.

I just thought of a question.  Are proposed transactions how recurring payments will work?  Just create a bunch of proposals with future dates, and approve them.  They will auto transfer when the date comes. 
Title: Re: possible to modify permissions?
Post by: bitcrab on December 19, 2015, 04:01:04 am
I am doing a test, first I have set the permission of transwiser-mpaadmin like this:

threshold:29
bitcrab: 30
baozi:15
harvey-xts:10

having done this I tried to add gulu with weight 10, but always failed  with the screenshot as shown above.

what's weird is that at the same condition I can add transwiser-wallet with weight 10 as well. but failed to add jerryliu.

seems there is a bug?




Title: Re: possible to modify permissions?
Post by: puppies on December 19, 2015, 05:20:00 am
I am doing a test, first I have set the permission of transwiser-mpaadmin like this:

threshold:29
bitcrab: 30
baozi:15
harvey-xts:10

having done this I tried to add gulu with weight 10, but always failed  with the screenshot as shown above.

what's weird is that at the same condition I can add transwiser-wallet with weight 10 as well. but failed to add jerryliu.

seems there is a bug?
that definitely sounds like a bug
Title: Re: possible to modify permissions?
Post by: abit on December 19, 2015, 11:34:37 am
I am doing a test, first I have set the permission of transwiser-mpaadmin like this:

threshold:29
bitcrab: 30
baozi:15
harvey-xts:10

having done this I tried to add gulu with weight 10, but always failed  with the screenshot as shown above.

what's weird is that at the same condition I can add transwiser-wallet with weight 10 as well. but failed to add jerryliu.

seems there is a bug?
Alternatively you can try the mothod introduced in this thread (by using a patched CLI wallet): https://bitsharestalk.org/index.php/topic,20647.msg266390.html#msg266390