-
Notifications
You must be signed in to change notification settings - Fork 16
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
5122 fix user can create shipment from requisition without permission set #6231
5122 fix user can create shipment from requisition without permission set #6231
Conversation
Bundle size differenceComparing this PR to
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM - but before I approve, keen to hear from @mark-prins whether we want the granularity of mapping the create invoices from requisitions
permission through instead
Actually - OG does not check the I would prefer to bring through the |
@mark-prins @lache-melvin What should be done here? Should I do the mapping in this PR or create an enhancement issue? |
Update in this PR please π |
server/repository/src/migrations/v2_06_00/add_create_invoice_from_requisition_permission.rs
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Epic thanks for changes!
Fixes #5122
π©π»βπ» What does this PR do?
Disable the creation of shipments from requisitions for users who do not have the
create invoice
permission set. Thanks @lache-melvin for pointing me in the right direction!Screen.Recording.2025-01-22.at.11.57.47.AM.mov
π Any notes for the reviewer?
This change makes it so that users who do not have the "create invoice" permission cannot create invoices from the requisition. However, there is a "create customer invoice from requisition" permission in OG that hasn't been mapped yet to OMS. Therefore, if you leave "create customer invoice from requisition" unchecked, you can still create shipments from requisitions if you have "create invoice" permission. @mark-prins worth doing the mapping?
π§ͺ Testing
π Documentation
1.
2.