Changed edit problem to show only for users with the permission