Added permissions to groups and posts.