-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
lineitems can be modified even after an order state is set to completed #7254
Comments
Hi @tommiller1 , this is intentional to allow store owners modify order contents later. |
Ok but atm even normal users can update orders after they have been completed. I am logging in with the users spree_api_key to update the orders. There should be a privilege check to prohibit the normal users from modifying the orders imo. |
@tommiller1 I see your point here. The ability described for Order doesn't have Can you do a pull request for this ? Thanks!!! |
Hi, I added a pull request but it seems some of the feature specs rely on an order being editable even when its in the completed state, I am not familiar enough with spree to make any decisions regarding this. Is there any way I can just modify the update ability in my own project without modifying spree? |
There are many issue in spree when you will submit address form it will not go for next , you can add item and quantity both will multiply wrong |
It's already fixed afaik. |
Hello,
Like the title says, I am able to add/update/remove lineitems for orders that are in the completed state. Is this intentional? How do I prevent this from happening?
I am updating orders through the spree api btw.
Regards.
The text was updated successfully, but these errors were encountered: