Edit permissions xml