Project

General

Profile

bug #7529

Wrong UUID after creating a GrantedAuthority for a Role like ROLE_PUBLISH

Added by Andreas Kohlbecker 11 months ago.

Status:
New
Priority:
New
Category:
taxeditor
Target version:
Start date:
07/03/2018
Due date:
% Done:

0%

Severity:
normal
Found in Version:

Description

The ROLE_PUBLISH was not yet in the database and thus was created using the Taxeditor GrantedAuthority Create Dialog.

The resulting GrantedAuthority in the database has the wrong uuid:

72 | 2018-07-03 07:29:27 | 0ada8cd5-8cdd-4fc0-a329-59d4d122008a | ROLE_PUBLISH

the Role has a different uuid in the code:

public final static Role ROLE_PUBLISH = new Role(UUID.fromString("9ffa7879-cc67-4592-a14a-b251cccde1a7"), "ROLE_PUBLISH");

I am not sure if this is a taxeditor issue or if the cdmlib methods being are missing to handlde this correctly. But first of all we should take a look at the taxeditor.

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 40 MB)