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

Add partner ID check for storage profile retrieval by ID #8021

Merged
merged 2 commits into from
Dec 25, 2019

Conversation

hilak
Copy link
Contributor

@hilak hilak commented Jan 15, 2019

No description provided.

@yossipapi
Copy link
Collaborator

Why not simply call $this->applyPartnerFilterForClass('storageProfile'); in the init service wouldn't it achive the same.

$dbStorageProfile = StorageProfilePeer::retrieveByPK($storageProfileId);
$dbStorageProfile = StorageProfilePeer::retrieveByIdAndPartnerId($storageProfileId, $dbAsset->getPartnerId());
Copy link
Collaborator

Choose a reason for hiding this comment

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

Indent.

@kaltura-hooks
Copy link

Hi @hilak,
Thank you for contributing this pull request!
Please sign the Kaltura CLA so we can review and merge your contribution.
Learn more at http://bit.ly/KalturaContrib

@MosheMaorKaltura MosheMaorKaltura changed the base branch from Naos-14.12.0 to Orion-15.14.0 December 25, 2019 12:11
@MosheMaorKaltura MosheMaorKaltura merged commit 053bf7b into Orion-15.14.0 Dec 25, 2019
@MosheMaorKaltura MosheMaorKaltura deleted the Naos-14.12.0-PLAT-9579 branch December 25, 2019 12:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

4 participants