removing permissions that belong to modules disabled on prod