Skip to content
Snippets Groups Projects
Commit 6a3f8668 authored by felmer's avatar felmer
Browse files

LMS-740 Add Role ETL_SERVER for GUI role assignment

SVN: 9763
parent 38e88ca3
No related branches found
No related tags found
No related merge requests found
...@@ -38,6 +38,7 @@ public class RoleListBox extends ListBox ...@@ -38,6 +38,7 @@ public class RoleListBox extends ListBox
// enumeration. // enumeration.
addItem(OBSERVER); addItem(OBSERVER);
addItem("USER"); addItem("USER");
addItem("ETL_SERVER");
addItem("GROUP_ADMIN"); addItem("GROUP_ADMIN");
addItem(INSTANCE_ADMIN); addItem(INSTANCE_ADMIN);
setVisibleItemCount(1); setVisibleItemCount(1);
......
...@@ -45,6 +45,9 @@ public final class RoleCodeTranslator ...@@ -45,6 +45,9 @@ public final class RoleCodeTranslator
} else if ("OBSERVER".equals(code)) } else if ("OBSERVER".equals(code))
{ {
return RoleCode.OBSERVER; return RoleCode.OBSERVER;
} else if ("ETL_SERVER".equals(code))
{
return RoleCode.ETL_SERVER;
} else } else
{ {
throw new IllegalArgumentException("Unknown role set"); throw new IllegalArgumentException("Unknown role set");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment