Added some permissions and fixed the invites structure list.