Added permission editor.
Updated xml editor.