Item Management

The Item Management section can be accessed by admins and creators.


View, Add, Edit or Delete Item

Items can be viewed and edited by users of type admin or creator. Using the API table role_has_permissions to get the role rights for access, the CASL rules for restriction were added. It is a more complex CRUD because it has a cateogory associated with the item and it can have multiple tags for an item among other attributes like name, ecerpt, description and image. With the+ Add Item button a new item can be added. From the Action column of the table the tag can be updated or deleted.

In the /src/cruds/item-management is the compoenent for viewwing items: