https://dev.e-taxonomy.eu/redmine/https://dev.e-taxonomy.eu/redmine/redmine/favicon.ico?14691914852021-02-01T08:36:04ZEDIT Project ManagementEDIT - bug #7529: Wrong UUID after creating a GrantedAuthority for a Role like ROLE_PUBLISHhttps://dev.e-taxonomy.eu/redmine/issues/7529?journal_id=580442021-02-01T08:36:04ZAndreas Müller
<ul><li><strong>Tags</strong> set to <i>fast</i></li><li><strong>Description</strong> updated (<a title="View differences" href="/redmine/journals/58044/diff?detail_id=72230">diff</a>)</li><li><strong>Priority</strong> changed from <i>New</i> to <i>Highest</i></li><li><strong>Target version</strong> changed from <i>Unassigned CDM tickets</i> to <i>Release 5.21</i></li></ul><p>AK, do you still remember the context for this ticket. What did not work, what did you test, which DB was involved?</p>
EDIT - bug #7529: Wrong UUID after creating a GrantedAuthority for a Role like ROLE_PUBLISHhttps://dev.e-taxonomy.eu/redmine/issues/7529?journal_id=580462021-02-01T08:52:55ZAndreas Kohlbecker
<ul></ul><p>I seem to remember that I created this ticket in turn to an email conversation that the both of us had.<br>
However, I don't remember 100% exactly the situation, but it was like that someone created the ROLE_PUBLISH via the Groups-Details editor, or the like.<br>
In this case a new GrantedAuthotrity with a new UUID is being created. This UUID conflicts with the one which is predefined in the class <code>eu.etaxonomy.cdm.persistence.permission.Role</code>.</p>
<p>So the solution to this would be that what I suggested in the email conversation today:</p>
<p>"<em>Wir sollten eine Default-Gruppe "Publish" einführen, die durch den FirstDataInserter angelegt wird und die die ROLE_PUBLISH als einzige GrantedAuthority enthält. Dadurch befindet sich die Rolle dann auf jeden Fall in jeder Datenbank und kann per Gruppe leicht einem User zugewiesen werden.</em>"</p>
EDIT - bug #7529: Wrong UUID after creating a GrantedAuthority for a Role like ROLE_PUBLISHhttps://dev.e-taxonomy.eu/redmine/issues/7529?journal_id=580472021-02-01T09:09:32ZAndreas Kohlbecker
<ul><li><strong>Description</strong> updated (<a title="View differences" href="/redmine/journals/58047/diff?detail_id=72234">diff</a>)</li></ul> EDIT - bug #7529: Wrong UUID after creating a GrantedAuthority for a Role like ROLE_PUBLISHhttps://dev.e-taxonomy.eu/redmine/issues/7529?journal_id=580652021-02-01T10:03:13ZAndreas Müller
<ul><li><strong>Assignee</strong> changed from <i>Andreas Müller</i> to <i>Andreas Kohlbecker</i></li></ul> EDIT - bug #7529: Wrong UUID after creating a GrantedAuthority for a Role like ROLE_PUBLISHhttps://dev.e-taxonomy.eu/redmine/issues/7529?journal_id=583302021-02-08T12:56:33ZAndreas Kohlbecker
<ul><li><strong>Target version</strong> changed from <i>Release 5.21</i> to <i>Release 5.20</i></li></ul> EDIT - bug #7529: Wrong UUID after creating a GrantedAuthority for a Role like ROLE_PUBLISHhttps://dev.e-taxonomy.eu/redmine/issues/7529?journal_id=583332021-02-08T14:22:07ZAndreas Kohlbecker
<ul><li><strong>Status</strong> changed from <i>New</i> to <i>Resolved</i></li><li><strong>% Done</strong> changed from <i>0</i> to <i>50</i></li></ul><p>Applied in changeset <a class="changeset" title="fix #7529 adding PUBLISH group to FirstDataInserter" href="https://dev.e-taxonomy.eu/redmine/projects/edit/repository/cdmlib/revisions/b8dd2aa39122e68351a1591e11a4dc12751fdc2e">cdmlib|b8dd2aa39122e68351a1591e11a4dc12751fdc2e</a>.</p>
EDIT - bug #7529: Wrong UUID after creating a GrantedAuthority for a Role like ROLE_PUBLISHhttps://dev.e-taxonomy.eu/redmine/issues/7529?journal_id=583462021-02-09T08:57:43ZAndreas Kohlbecker
<ul><li><strong>Status</strong> changed from <i>Resolved</i> to <i>Closed</i></li><li><strong>% Done</strong> changed from <i>50</i> to <i>100</i></li></ul><p>verified at some test databases: works as expected.</p>
EDIT - bug #7529: Wrong UUID after creating a GrantedAuthority for a Role like ROLE_PUBLISHhttps://dev.e-taxonomy.eu/redmine/issues/7529?journal_id=583672021-02-10T10:51:31ZAndreas Kohlbecker
<ul><li><strong>Category</strong> changed from <i>taxeditor</i> to <i>cdmlib</i></li></ul> EDIT - bug #7529: Wrong UUID after creating a GrantedAuthority for a Role like ROLE_PUBLISHhttps://dev.e-taxonomy.eu/redmine/issues/7529?journal_id=583852021-02-15T15:15:17ZAndreas Müller
<ul></ul><p>Have you also checked that no ROLE_PUBLISH with wrong UUID exists in existing production DBs? (see ticket description)</p>
EDIT - bug #7529: Wrong UUID after creating a GrantedAuthority for a Role like ROLE_PUBLISHhttps://dev.e-taxonomy.eu/redmine/issues/7529?journal_id=583862021-02-15T20:05:06ZAndreas Kohlbecker
<ul></ul><p>Andreas Müller wrote:</p>
<blockquote>
<p>Have you also checked that no ROLE_PUBLISH with wrong UUID exists in existing production DBs? (see ticket description)</p>
</blockquote>
<p>Yes of course otherwise I wouldn't have closed the ticket.</p>
EDIT - bug #7529: Wrong UUID after creating a GrantedAuthority for a Role like ROLE_PUBLISHhttps://dev.e-taxonomy.eu/redmine/issues/7529?journal_id=611612021-06-03T09:25:18ZAndreas Müller
<ul><li><strong>Tags</strong> deleted (<del><i>fast</i></del>)</li></ul>