Skip to content

UoE/Python integration script for resourcePolicies set-up#264

Open
jr-rk wants to merge 1 commit into
mainfrom
replace_resource_policies_tool
Open

UoE/Python integration script for resourcePolicies set-up#264
jr-rk wants to merge 1 commit into
mainfrom
replace_resource_policies_tool

Conversation

@jr-rk
Copy link
Copy Markdown
Contributor

@jr-rk jr-rk commented May 28, 2026

Problem description

  • Updates READ policies on each item’s ORIGINAL bundle and all its bitstreams so only the Administrator group keeps READ access.
  • Resolves handles to item UUIDs with fallback search when primary PID lookup fails.
  • Removes existing READ resource policies on each target resource and creates one new Administrator READ policy.
  • Adds resilient API behavior with explicit request timeout, retry count, and exponential backoff settings.
  • Adds optional continue-on-bitstream-error mode so one failed bitstream does not stop the rest of the handle.
  • Adds run reporting with per-handle bitstream attempted/failed counts and a final aggregate failure report by reason.

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants