edit-permissions - fix ref again