Added permission auto learn