Update system to use groups instead of assigned permissions