Port data-request feature after main rebase
Main's new compliance-portal data-request pages (rights request submission and listing) still referenced the sign-in dialog and package names the earlier rebase's OAuth /initiate migration and compliancepage -> complianceportal rename had already replaced. Gate the "New Request" button behind OAuth like the rest of the portal and point resolvers at the flattened visitor.Service methods. Signed-off-by: Bryan Frimin <bryan@probo.com>
This commit is contained in:
@@ -225,10 +225,10 @@ func (r *queryResolver) MyRightsRequests(ctx context.Context, first *int, after
|
||||
return types.NewRightsRequestConnection(emptyPage), nil
|
||||
}
|
||||
|
||||
compliancePage := compliancepage.CompliancePageFromContext(ctx)
|
||||
compliancePage := complianceportal.CompliancePageFromContext(ctx)
|
||||
scope := coredata.NewScopeFromObjectID(compliancePage.OrganizationID)
|
||||
|
||||
result, err := r.trust.RightsRequests.ListForOrganizationIDAndContact(
|
||||
result, err := r.trust.ListRightsRequestsForOrganizationIDAndContact(
|
||||
ctx,
|
||||
scope,
|
||||
compliancePage.OrganizationID,
|
||||
|
||||
Reference in New Issue
Block a user