diff --git a/framework/webtools/data/WebtoolsSecurityData.xml b/framework/webtools/data/WebtoolsSecurityData.xml index 31e34267d9..b886ad9367 100644 --- a/framework/webtools/data/WebtoolsSecurityData.xml +++ b/framework/webtools/data/WebtoolsSecurityData.xml @@ -30,6 +30,12 @@ under the License. + + + + + + diff --git a/framework/webtools/webapp/webtools/entity/EntityRefMain.ftl b/framework/webtools/webapp/webtools/entity/EntityRefMain.ftl index bb92763180..00df27b203 100644 --- a/framework/webtools/webapp/webtools/entity/EntityRefMain.ftl +++ b/framework/webtools/webapp/webtools/entity/EntityRefMain.ftl @@ -66,6 +66,10 @@ under the License. <#assign encodeURL = response.encodeURL(controlPath + "/FindGeneric?entityName=" + entity.entityName + "&find=true&VIEW_SIZE=50&VIEW_INDEX=0")> [${uiLabelMap.WebtoolsViewData}] + <#if !forstatic> + <#assign encodeURL = response.encodeURL(controlPath + "/ArtifactInfo?name=" + entity.entityName + "&type=entity")> + [Artifact Info] + <#if entity.description?has_content && !entity.description.equalsIgnoreCase("NONE") && diff --git a/framework/webtools/webapp/webtools/includes/appheader.ftl b/framework/webtools/webapp/webtools/includes/appheader.ftl index 67a78f123a..2ec0e03f9b 100644 --- a/framework/webtools/webapp/webtools/includes/appheader.ftl +++ b/framework/webtools/webapp/webtools/includes/appheader.ftl @@ -31,6 +31,9 @@ under the License. class="selected">${uiLabelMap.WebtoolsJobList} class="selected">${uiLabelMap.WebtoolsCacheMaintenance} class="selected">${uiLabelMap.WebtoolsLogging} + <#if security.hasPermission("ARTIFACT_INFO_VIEW", session)> + class="selected">Artifact Info +
  • ${uiLabelMap.CommonLogout}
  • <#else>
  • ${uiLabelMap.CommonLogin}
  • diff --git a/framework/webtools/webapp/webtools/main.ftl b/framework/webtools/webapp/webtools/main.ftl index 78e8d98ed9..c1c1f905ee 100644 --- a/framework/webtools/webapp/webtools/main.ftl +++ b/framework/webtools/webapp/webtools/main.ftl @@ -67,6 +67,12 @@ text-decoration: underline;
  • ${uiLabelMap.WebtoolsAdjustDebuggingLevels}
  • ${uiLabelMap.WebtoolsViewLog}
  • ${uiLabelMap.WebtoolsViewComponents}
  • + <#if security.hasPermission("ARTIFACT_INFO_VIEW", session)> +
  • General Artifact Info Tools

  • +
  • Artifact Info
  • +
  • ${uiLabelMap.WebtoolsEntityReference} - Interactive
  • +
  • ${uiLabelMap.WebtoolsServiceReference}
  • + <#if security.hasPermission("ENTITY_MAINT", session)>
  • ${uiLabelMap.WebtoolsEntityEngineTools}

  • ${uiLabelMap.WebtoolsEntityDataMaintenance}
  • diff --git a/framework/webtools/webapp/webtools/service/availableservices.ftl b/framework/webtools/webapp/webtools/service/availableservices.ftl index 52a2927813..679350c68c 100644 --- a/framework/webtools/webapp/webtools/service/availableservices.ftl +++ b/framework/webtools/webapp/webtools/service/availableservices.ftl @@ -67,7 +67,8 @@ under the License. ${selectedServiceMap.location} -   + Artifact Info + Artifact Info ${uiLabelMap.WebtoolsDefaultEntityName} ${selectedServiceMap.defaultEntityName} diff --git a/framework/webtools/widget/ArtifactInfoScreens.xml b/framework/webtools/widget/ArtifactInfoScreens.xml index 073d5b4dc9..bc68b29fae 100644 --- a/framework/webtools/widget/ArtifactInfoScreens.xml +++ b/framework/webtools/widget/ArtifactInfoScreens.xml @@ -22,9 +22,12 @@ under the License. xsi:noNamespaceSchemaLocation="http://ofbiz.apache.org/dtds/widget-screen.xsd">
    + + + - +