{"head":"fc67a36639f57256d78c661d7d0d5f51357b4963","size":1,"push_id":47026830,"commits":[{"sha":"fc67a36639f57256d78c661d7d0d5f51357b4963","author":{"name":"Andrius Ordojan","email":"9b1de7a72d6d045f6d0f4f791d044783880e16e0@gmail.com"},"url":"https://api.github.com/repos/CombatCow/Gadget-Store/commits/fc67a36639f57256d78c661d7d0d5f51357b4963","message":"CreateOrder script calls the CreateOrder function from the ShoppingCartService, saves a message to display to the user and redirects him to the home screen.\n\nAdded two new entities Order and OrderItem.\nAdded a userRole field to the User entity.\n\nAuthenticationService\n    RegisterUser function now adds user to Customer role.\n\nAuthorizationService\n    AddUserToRole function adds user to a specific role.\n    Authorize function checks if the user is associated with a particular role.\n\nShoppingCartService\n    AddToCart, MigrateShoppingCart, RemoveFromCart, EmptyCart functions now act differently depending if the user is logged in or not.\n    Implemented CreateOrder function to create an order from the users shopping cart and user profile information.\n\n Message script is meant to display a message to the user for only one request. The message is deleted after it is displayed.\n\n place-order page only allows users with a Customer role to view the it."}],"ref":"refs/heads/master","legacy":{"head":"fc67a36639f57256d78c661d7d0d5f51357b4963","size":1,"push_id":47026830,"shas":[["fc67a36639f57256d78c661d7d0d5f51357b4963","Andrius.or@gmail.com","CreateOrder script calls the CreateOrder function from the ShoppingCartService, saves a message to display to the user and redirects him to the home screen.\n\nAdded two new entities Order and OrderItem.\nAdded a userRole field to the User entity.\n\nAuthenticationService\n    RegisterUser function now adds user to Customer role.\n\nAuthorizationService\n    AddUserToRole function adds user to a specific role.\n    Authorize function checks if the user is associated with a particular role.\n\nShoppingCartService\n    AddToCart, MigrateShoppingCart, RemoveFromCart, EmptyCart functions now act differently depending if the user is logged in or not.\n    Implemented CreateOrder function to create an order from the users shopping cart and user profile information.\n\n Message script is meant to display a message to the user for only one request. The message is deleted after it is displayed.\n\n place-order page only allows users with a Customer role to view the it.","Andrius Ordojan"]],"ref":"refs/heads/master"}}