Tag Management

The Tag Management section can be accessed by the users with admin or creator role.


View, Add, Edit or Delete Tag

Tags can be viewed by 2 types of default users that can also add, edit or remove tags. Using the api table role_has_permissions to get the role rights of access and CASL rules the restrictions were added. With the+ Add Tag button a new tag with name and color is created. From the Action column of the table the tag can be updated or deleted.

In the /src/cruds/tag-management/new-tag is the logic for creating a component: