Uploaded image for project: 'Red Hat Process Automation Manager'
  1. Red Hat Process Automation Manager
  2. RHPAM-243

Cannot configure "Default workspace" in dashbuilder "Workspace properties" Edit page

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Major Major
    • None
    • 6.x.x
    • BAM
    • Workaround Exists
    • Hide

      See Description

      Show
      See Description
    • Hide
      • Login as admin user (not 'root')
      • Go to "General configuration"
      • Click a workspace
      • "Workspace properties" Edit page is displayed. But "Default workspace" check box is not rendered.
      Show
      Login as admin user (not 'root') Go to "General configuration" Click a workspace "Workspace properties" Edit page is displayed. But "Default workspace" check box is not rendered.

      "Default workspace" is designed to be configurable in "Workspace properties" Edit page. But it's not rendered even with admin role user. Only 'root' can render that.

      https://github.com/kiegroup/dashboard-builder/blob/6.5.0.Final/modules/dashboard-ui/dashboard-ui-core/src/main/webapp/configuration/tree/editPages/WorkspaceNodeEdit.jsp#L231-L248

      https://github.com/kiegroup/dashboard-builder/blob/6.5.0.Final/modules/dashboard-ui/dashboard-ui-core/src/main/java/org/jboss/dashboard/ui/config/components/workspace/WorkspacePropertiesFormatter.java#L113-L117

      Such a gap between "admin" and "root" seems to be considered as a bug (FYI: https://bugzilla.redhat.com/show_bug.cgi?id=1136743)

      We can work around the problem with system properties.

          <system-properties>
              ...
              <property name="org.jboss.dashboard.users.UserStatus.rootLogin" value="bpmsAdmin"/>
              <property name="org.jboss.dashboard.users.UserStatus.rootUserName" value="bpmsAdmin"/>
          </system-properties>
      

              david.magallanes David Gutierrez
              rhn-support-tkobayas Toshiya Kobayashi
              Jan Hrcek Jan Hrcek (Inactive)
              Jan Hrcek Jan Hrcek (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: