Azkali / e-make

MIT License
0 stars 0 forks source link

Api/*: Protect all store-related APIs #3

Closed GerkinDev closed 5 years ago

GerkinDev commented 5 years ago

Attributes, attributes categories & products should be writable only by administrators, EG users with specific authorizations.

Cart & cart item should be bound to the connected user: a user can only retrieve its own items, & insert items linked with himself. The only exception is the administrator, that can read & write for every user.

Payment related entities should be read-write only for admins.