Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: refactor pinning authorization logic to use user_tag table #1389

Merged
merged 3 commits into from
Mar 16, 2022

Conversation

e-schneid
Copy link
Contributor

Closes #1381

@cloudflare-workers-and-pages
Copy link

cloudflare-workers-and-pages bot commented Feb 16, 2022

Deploying with  Cloudflare Pages  Cloudflare Pages

Latest commit: 9f73d96
Status: ✅  Deploy successful!
Preview URL: https://99d37e2e.nft-storage-1at.pages.dev

View logs

@e-schneid e-schneid force-pushed the feat/issue-1381-pinning-authorization-via-db branch 2 times, most recently from e4349a8 to dfd253e Compare February 16, 2022 20:11
@JeffLowe JeffLowe assigned ghost Feb 17, 2022
@ghost ghost force-pushed the feat/issue-1381-pinning-authorization-via-db branch 3 times, most recently from ecbc3ae to c7e2d23 Compare February 18, 2022 17:35
@ghost ghost requested a review from alanshaw February 19, 2022 04:57
@e-schneid e-schneid force-pushed the feat/issue-1381-pinning-authorization-via-db branch from 99a7eef to 9f73d96 Compare March 8, 2022 18:58
@hugomrdias hugomrdias merged commit b5e99ec into main Mar 16, 2022
@hugomrdias hugomrdias deleted the feat/issue-1381-pinning-authorization-via-db branch March 16, 2022 11:16
@alanshaw
Copy link
Contributor

@e-schneid @trigramdev9 it looks like this PR has broken the build in main - any chance you can take a look?

ghost pushed a commit that referenced this pull request Mar 17, 2022
ghost pushed a commit that referenced this pull request Mar 17, 2022
ghost pushed a commit that referenced this pull request Mar 17, 2022
…ed to the latest from main

* Some cleaning of PSA_ALLOW references too
ghost pushed a commit that referenced this pull request Mar 17, 2022
…ed to the latest from main

* Some cleaning of PSA_ALLOW references too
ghost pushed a commit that referenced this pull request Mar 17, 2022
…ed to the latest from main

* Some cleaning of PSA_ALLOW references too
ghost pushed a commit that referenced this pull request Mar 17, 2022
…ed to the latest from main

* Some cleaning of PSA_ALLOW references too
ghost pushed a commit that referenced this pull request Mar 17, 2022
…ed to the latest from main

* Some cleaning of PSA_ALLOW references too
value: 'false',
reason: '',
inserted_at: '2/22/2022',
})
Copy link
Contributor

Choose a reason for hiding this comment

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

Wondering: Do these two writes happen in a transaction? If the first succeds and the second throws, is that a valid db state?

ghost pushed a commit that referenced this pull request Mar 17, 2022
* see #1389 #1381
* Adding a missing comma.
* Filtering tags on deleted_at is null.
* Removing some PSA_ALLOW references.
the-simian pushed a commit that referenced this pull request Mar 17, 2022
* see #1389 #1381
* Adding a missing comma.
* Filtering tags on deleted_at is null.
* Removing some PSA_ALLOW references.
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.

Refactor pinning authorization logic away from global CloudFlare worker variable to user_tag table
5 participants