diff --git a/src/main/java/Bundle.properties b/src/main/java/Bundle.properties index 4105fbcd245..b51f3760350 100755 --- a/src/main/java/Bundle.properties +++ b/src/main/java/Bundle.properties @@ -74,6 +74,7 @@ header.user.selectTab.dataRelated=My Data header.user.selectTab.notifications=Notifications header.user.selectTab.accountInfo=Account Information header.user.selectTab.groupsAndRoles=Groups + Roles +header.user.selectTab.apiToken=API Token # dataverse_template.xhtml diff --git a/src/main/java/edu/harvard/iq/dataverse/authorization/providers/builtin/BuiltinUserPage.java b/src/main/java/edu/harvard/iq/dataverse/authorization/providers/builtin/BuiltinUserPage.java index 0a4e9ec6d9d..484c1fa324a 100644 --- a/src/main/java/edu/harvard/iq/dataverse/authorization/providers/builtin/BuiltinUserPage.java +++ b/src/main/java/edu/harvard/iq/dataverse/authorization/providers/builtin/BuiltinUserPage.java @@ -253,6 +253,9 @@ public String init() { activeIndex = 2; // activeIndex = 3; break; + case "apiTokenTab": + activeIndex = 3; + break; default: activeIndex = 0; break; diff --git a/src/main/webapp/dataverse_header.xhtml b/src/main/webapp/dataverse_header.xhtml index 103bd49f0e8..c94f2478aa8 100644 --- a/src/main/webapp/dataverse_header.xhtml +++ b/src/main/webapp/dataverse_header.xhtml @@ -138,6 +138,12 @@ +
  • + + + + +