7653 Break out user permissions cache into a separate class