Closed lisfer closed 10 years ago
to add an item you need visit '/new_product' url. By default all user can edit and to add items (variable HAS_RIGHTS in app/views.py). To repair it needs - stuff to know if user is admin
var HAS_RIGHTS has been removed. Now user role from db is checked.
to add an item you need visit '/new_product' url.
By default all user can edit and to add items (variable HAS_RIGHTS in app/views.py). To repair it needs - stuff to know if user is admin