Fix missing import
Hide edit button when user has no permission