Added accessallgroups course check

If the user has the accessallgroups check set than he/she can
access all the activities without group restrictions.