Create rights to manage CCE

Description

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.

Acceptance criteria

  • 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

Activity

Show:
Lucyna Laska
July 12, 2017, 9:46 AM

I think that the CCE_MANAGE right is not displayed correctly. Could you please fix this?

Paweł Albecki
July 12, 2017, 9:53 AM

I added proper message.

Lucyna Laska
July 12, 2017, 12:04 PM

Thanks!

The Manage CCE right is added. The right is assigned to the System Administrator role.

Paweł Albecki
July 12, 2017, 12:55 PM

You checked catalogItems endpoints for right check, right?

Lucyna Laska
July 13, 2017, 5:58 AM

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.

Flagged

Assignee

Paweł Albecki

Reporter

Chongsun Ahn

Labels

None

Story Points

3

Time tracking

0m

Time remaining

0m

Epic Link

Components

Sprint

None

Fix versions

Priority

Major