A new right will need to be added to the system to manage the CCE catalog. This right should be assigned to the proper roles/users in demo data.
A new right CCE_MANAGE is added to reference data's bootstrap data. Note: this means, adding a new flyway migration to insert a new right into the rights table.
Add right checks in the existing CRUD endpoints
I think that the CCE_MANAGE right is not displayed correctly. Could you please fix this?
I added proper message.
The Manage CCE right is added. The right is assigned to the System Administrator role.
You checked catalogItems endpoints for right check, right?
I checked if the CCE Manage right is required for accessing the catalogItems endpoints. When user does not have assigned role with right: CCE Manage, access is denied and message: "You do not have following permission to perform this action: CCE_MANAGE." is returned.