An interesting little twist in functionality- if an admin user has puchased a product with a lifetime restriction, it limits their ability to add that product to orders that they create for other users. The code is looking at the currently logged in user when a product is added to cart, which is reasonable since there likely won't normally be an "order" yet to reference another user from.

Probably not a very common occurrence, but worth noting. The only solution I can think of would be to set a permission to allow administrative users to bypass lifetime restrictions.

Comments

raulmuroc’s picture

Issue summary: View changes
Status: Active » Closed (fixed)

Closing due to lack of activity. If you are still working on this application, you should fix all known problems and then set the status to "Needs review". (See also the project application workflow).