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

Web api of stock source links management #84

Merged
merged 1 commit into from
Sep 11, 2017
Merged

Conversation

naydav
Copy link

@naydav naydav commented Sep 6, 2017

https://github.com/magento-engcom/magento2/issues/83

  • Need to describe web api for stock source links management
  • Cover with api functional tests

@magento-cicd2
Copy link

CLA assistant check
Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.

Copy link
Contributor

@maghamed maghamed left a comment

Choose a reason for hiding this comment

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

Everything except ACL looks good for me

@@ -14,7 +14,8 @@
</resource>
<resource id="Magento_InventoryApi::stock" title="Inventory Stocks" translate="title" sortOrder="20">
<resource id="Magento_InventoryApi::stock_edit" title="Edit Inventory Stocks" translate="title" sortOrder="10" />
<resource id="Magento_InventoryApi::source_delete" title="Delete Inventory Stocks" translate="title" sortOrder="20" />
<resource id="Magento_InventoryApi::stock_delete" title="Delete Inventory Stocks" translate="title" sortOrder="20" />
Copy link
Contributor

Choose a reason for hiding this comment

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

why do we introduce independent resource for Stock Edit and Stock Delete?
why not to have the single ACL resource for both operations?

Like this one:

 <resource id="Magento_InventoryApi::stock" title="Manage Inventory Stocks" translate="title" sortOrder="20" />

And the same for Source

Copy link
Author

Choose a reason for hiding this comment

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

Separate ticket has been created
https://github.com/magento-engcom/magento2/issues/89
need to discuss several things in a scope of ACL refactoring

@naydav naydav mentioned this pull request Sep 11, 2017
@naydav naydav merged commit 7388bae into develop Sep 11, 2017
@naydav
Copy link
Author

naydav commented Sep 14, 2017

@larsroettig
Copy link
Member

@naydav https://bamboo.corp.magento.com/ is magento internal domain :(

@maghamed maghamed deleted the source-stock-link-api branch December 11, 2018 18:12
sidolov pushed a commit that referenced this pull request May 11, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants