Questions tagged [permissions]

The tag has no usage guidance.

16 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
2
votes
1answer
109 views

How to setup action access control?

Let's say contract-A has a couple of actions defined. If access to one of the contract-A's action, say action1(), needs to be controlled on account basis, how to do it? For example, only few ...
1
vote
0answers
25 views

How to view links between actions and permissions?

Currently I create permissions perm* for user user, and authorize it to push action action* to the code-containing account code like so: cleos set account permission user perm* PUBLIC_KEY active ...
1
vote
0answers
73 views

Multi-signature Account with Wait Time

I want to create a shared hierarchical account using time delays and multi-sigs. My intention is to use a "wait" time delay in conjunction with a mutli-sig proposal. I want to require a multi-sig ...
1
vote
0answers
103 views

Why eosio.msig must be privileged account in boot sequence?

I understand the process that eosio's permissions are changed to eosio.prods which represents all BPs. But I cannot understand why we need to make eosio.msig a privileged account. Could you explain ...
1
vote
0answers
169 views

Exception when updating permission in EOS 1.0.1 with eosjs 14.1

The code below will produce the following error message: TypeError: Cannot read property 'threshold' of undefined authority.threshold updateauth.auth action.data transaction.actions index.js:121 ...
0
votes
0answers
10 views

Is it possible to read the permissions tree table from within a contract?

From within a smart contract, I would like to discover whether an account has defined a specific permission name. I don't want to test whether it has that authorization (require_auth()); just whether ...
0
votes
0answers
12 views

Does anybody have a complete code example of changing the e.g. active key of a contract account from within that contract?

I want a contract to set its active permission to a hardcoded key (an "EOSxxxx" string) from within the contract code, but I can't find an actual complete code example that works. This ...
0
votes
1answer
76 views

Building a contact in EOS Studio and getting eosio.code permissions when calling it

After deploying a contract built in EOS Studio ... on my call to another action where I have called 'permission_level()' ... I get a permission error "transaction declares authority '{"actor&...
0
votes
1answer
42 views

Refunding impossible

I wanted to refund my eos manually, but unfortunately, I get the following error message: transaction declares authority '{"actor":"maczaykowski","permission":"...
0
votes
1answer
44 views

Inline action call that requires get_self() auth possible?

There is a contract B with an action 'create' which uses require_auth( get_self() ). I would like to call that action from another contract A, is that even possible and if so - how? Contract b has ...
0
votes
1answer
131 views

Sent EOS to wrong Account From exchange Coinbase

We transferred funds from Coinbase to another coinbase account but the account name was mistyped due to autocorrect and funds went to an account called 'counbasebase' instead of the exchange '...
0
votes
1answer
249 views

Setting eosio.code permission for contract account in eosjs

I am trying to set the eosio.code permission for my contract on account kbo2byvpkbiy (private blockchain). The reason I want to do this is calling eosio.token/transfer from within this contract. All ...
0
votes
1answer
511 views

Error 3090003: Provided keys, permissions, and delays do not satisfy declared authorizations on Kylin

I've created a test account on Kylin, funded it from a faucet, bought RAM and deployed a contract. when I try to call a contract method I get the above error my call attempt is made using cleos and ...
0
votes
1answer
46 views

Error RPC ERROR 3090003: Provided keys, permissions, and delays do not satisfy declared authorizations, how to solve this error

1.abi_json_to_bin 2.unlock default wallet 3.get public_key lists,"EOS5CMpK8wH5MzFA3Vptb3RizKr5MLmEF7A4K9FhL4HSyVrVRT7o8" is one of them 4.make sure the public_key is related to the account ...
0
votes
1answer
54 views

Where in the code are eosio.prods permission set

where can I find the code in which eosio.prods permission are set? I couldn't find it in system_contract or producer_plugin. thx for any help!!
0
votes
1answer
48 views

A way to decrease power of active and owner keys of account?

I'm reading this article: https://developers.eos.io/eosio-nodeos/docs/accounts-and-permissions It's allowed to add many owners to single EOS account, right? It's allowed to have many active keys for ...