Editing code check

You can only edit code if you have created it. The edit button should be
removed somehow if you're not the owner. Something for @sander242 to
think about.