Monorepo for Tangled tangled.org

appview, knotserver: add didAssign event and PDS rewrite on login #1143

open opened by oyster.cafe targeting master from oyster.cafe/tangled-core: master
Labels

None yet.

assignee

None yet.

Participants 2
AT URI
at://did:plc:3fwecdnvtcscjnrx2p4n7alz/sh.tangled.repo.pull/3mgprvt2evm22
+6 -1
Interdiff #7 #8
appview/db/repos.go

This file has not been changed.

appview/oauth/handler.go

This file has not been changed.

+6 -1
appview/state/knotstream.go
··· 407 407 return nil 408 408 } 409 409 repo := repos[0] 410 - repoAtUri := repo.RepoAt().String() 411 410 knot := source.Key() 411 + 412 + if repo.Knot != knot { 413 + return fmt.Errorf("didAssign from %s for repo hosted on %s, rejecting", knot, repo.Knot) 414 + } 415 + 416 + repoAtUri := repo.RepoAt().String() 412 417 legacyResource := record.OwnerDid + "/" + record.RepoName 413 418 414 419 if repo.RepoDid != record.RepoDid {
knotserver/db/didassign.go

This file has not been changed.

knotserver/db/events.go

This file has not been changed.

knotserver/events.go

This file has not been changed.

knotserver/git.go

This file has not been changed.

knotserver/internal.go

This file has not been changed.

knotserver/xrpc/xrpc.go

This file has not been changed.

rbac/rbac.go

This file has not been changed.

rbac/rbac_test.go

This file has not been changed.

History

12 rounds 1 comment
sign up or login to add to the discussion
1 commit
expand
appview, knotserver: add didAssign event and PDS rewrite on login
merge conflicts detected
expand
  • go.mod:34
  • go.sum:339
expand 0 comments
1 commit
expand
appview, knotserver: add didAssign event and PDS rewrite on login
expand 0 comments
1 commit
expand
appview, knotserver: add didAssign event and PDS rewrite on login
expand 1 comment

everything else lgtm!

1 commit
expand
appview, knotserver: add didAssign event and PDS rewrite on login
expand 0 comments
1 commit
expand
appview, knotserver: add didAssign event and PDS rewrite on login
expand 0 comments
1 commit
expand
appview, knotserver: add didAssign event and PDS rewrite on login
expand 0 comments
1 commit
expand
appview, knotserver: add didAssign event and PDS rewrite on login
expand 0 comments
1 commit
expand
appview, knotserver: add didAssign event and PDS rewrite on login
expand 0 comments
1 commit
expand
appview, knotserver: add didAssign event and PDS rewrite on login
expand 0 comments
1 commit
expand
appview, knotserver: add didAssign event and PDS rewrite on login
expand 0 comments
1 commit
expand
appview, knotserver: add didAssign event and PDS rewrite on login
expand 0 comments
1 commit
expand
appview, knotserver: add didAssign event and PDS rewrite on login
expand 0 comments