[iprima] Fix permission check regex