pragma solidity ^0.4.0; contract Panel3 { address owner; string text = ""; modifier authorised(address other) { require(other == owner, "Sender not authorized."); _; } constructor() public { owner = msg.sender; } function set(string _text) public authorised(msg.sender) { text = _text; } function read() public view returns(string) { return text; } }