Make permissions more sophisticated.