Signed-off-by: oppiliappan me@oppi.li
+6
knotserver/config/config.go
+6
knotserver/config/config.go
······
+37
-18
knotserver/handler.go
+37
-18
knotserver/handler.go
············
+149
knotserver/xrpc/router.go
+149
knotserver/xrpc/router.go
···+WithError(fmt.Errorf("DID does not have sufficent access permissions for this operation: %s", d)),
+87
knotserver/xrpc/set_default_branch.go
+87
knotserver/xrpc/set_default_branch.go
···+resp, err := comatproto.RepoGetRecord(r.Context(), &xrpcc, "", tangled.RepoNSID, repoAt.Authority().String(), repoAt.RecordKey().String())+if ok, err := x.Enforcer.IsPushAllowed(actorDid.String(), rbac.ThisServer, didPath); !ok || err != nil {