Add some permission functions