repositories.get_all_permissions is a method defined in Arvados class.
arv$repositories.get_all_permissions(NULL)
Repository object.