Actually @danizord we have to make the loop to do the casting of permission to the string, to make sure the array is indexable.