I have 3 solidity smart contracts that run in a quorum network with 7 nodes. At the moment i use the constructor to set the owner of the smart contract, that is the node that deployed it.
constructor() public {
owner = msg.sender;
}
This allows me to consent the access of some methods with
require(owner == msg.sender);
Now, I would like to allow access to these methods also to two other nodes. Is it possible to set these permissions at run time? Or you suggest me to write the addresses of the allowed nodes directly in the code? If so, where do I find the quorum node addresses?