edit permission - fix ref, take 2