Code Editor : write_grant_head