add permition to name param in locale model