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

Prebid 7: Change default bidder access to storage manager #8279

Merged
merged 36 commits into from
May 20, 2022

Conversation

patmmccann
Copy link
Collaborator

This changes the default of #7280 as per #7796

It requires that bidders needing access to storage manager are whitelisted in configuration. It does not affect the behavior of other module types.

@patmmccann patmmccann added needs 2nd review Core module updates require two approvals from the core team maintenance major 7.0 API Change labels Apr 12, 2022
@@ -31,7 +31,7 @@ export function newStorageManager({gvlid, moduleName, bidderCode, moduleType} =
return false;
}
const storageAllowed = bidderSettings.get(bidderCode, 'storageAllowed');
return storageAllowed == null ? false : !storageAllowed;
return storageAllowed == null ? true : !storageAllowed;
Copy link
Contributor

Choose a reason for hiding this comment

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

@patmmccann This change seems to have no effect on the behaviour of userId modules. Can you please confirm?

Copy link
Collaborator Author

@patmmccann patmmccann Apr 21, 2022

Choose a reason for hiding this comment

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

confirmed, this is intended to only affect bidders

Copy link
Contributor

Choose a reason for hiding this comment

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

Thank you!

@patmmccann patmmccann marked this pull request as ready for review April 21, 2022 22:11
@ncolletti
Copy link
Contributor

Will there also be a doc change to section 2.6 of bidderSettings?

test/spec/unit/core/storageManager_spec.js Outdated Show resolved Hide resolved
test/spec/unit/core/storageManager_spec.js Show resolved Hide resolved
src/storageManager.js Outdated Show resolved Hide resolved
@patmmccann
Copy link
Collaborator Author

Will there also be a doc change to section 2.6 of bidderSettings?

prebid/prebid.github.io#3780

Copy link
Contributor

@ncolletti ncolletti left a comment

Choose a reason for hiding this comment

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

looking good!

@ncolletti ncolletti added LGTM and removed needs 2nd review Core module updates require two approvals from the core team labels May 19, 2022
@patmmccann patmmccann merged commit e0afeff into prebid-7 May 20, 2022
@patmmccann patmmccann deleted the bidder-storage-allowed branch May 20, 2022 02:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants