Skip to content

Conversation

@Sriep
Copy link
Contributor

@Sriep Sriep commented Jun 24, 2021

Adds check against the new IsImmutable allocation flag before allowing upload, update, copy, move, delete and rename file changes. The uses the new IsImmutable field set up in 0chain 0chain/0chain#375.

Updated allocations sql table whith is_immutbale, Also added repairer_id.

@Sriep Sriep added the enhancement New feature or request label Jun 24, 2021
@Sriep Sriep self-assigned this Jun 24, 2021
@Sriep Sriep changed the title Add allocution immutable checks to upload, copy move Add allocation immutable checks to upload, copy move Jun 24, 2021
@Sriep Sriep changed the title Add allocation immutable checks to upload, copy move WIP: Add allocation immutable checks to upload, copy move Jun 25, 2021
@guruhubb guruhubb requested a review from andrenerd June 26, 2021 00:47
@Sriep Sriep merged commit 64fc081 into master Jun 28, 2021
@Sriep Sriep deleted the immutable branch June 28, 2021 15:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add allocation immutable chcek for file upload, update, copy, move, delete and rename

2 participants