support defined permission parse