Started implementation of the permissions API and wrote group config reader