Skip to content

Commit

Permalink
fixup! scripts: added script to move records and communities in bulk.
Browse files Browse the repository at this point in the history
  • Loading branch information
alejandromumo committed Feb 27, 2024
1 parent a99e7c4 commit dd92b6d
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions scripts/ec_transfer_records.py
Original file line number Diff line number Diff line change
Expand Up @@ -123,11 +123,3 @@ def transfer_records(identity, records, new_parent, set_default=False):
identity, new_parent, records, set_default=set_default, uow=uow
)
uow.commit()


from invenio_access.permissions import system_identity

ids = ["214"] # from the_best_eu_project
target_comm = "test"
# transfer_records(system_identity, ids, target_comm)
transfer_communities(system_identity, ["a_new_one"], target_comm)

0 comments on commit dd92b6d

Please sign in to comment.