adds permission dependency to notes migration