fix sidebar tasks count and transfer task to full line cancan-based privilege system  (override default).