Added support to redefine users of a repository

Thanks, @scorphus :)
ditto