Machine Learning in Permission Management