Uploaded image for project: 'Service Packs and Hot Fixes'
  1. Service Packs and Hot Fixes
  2. MNT-6123

Unable to execute a script from a link, for non-admin user

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Resolution: Not a bug
    • Affects Version/s: 3.3
    • Fix Version/s: 4.1.2
    • Component/s: Rules and Actions
    • Labels:
      None
    • Environment:
      I tested this on 3.3g, but saw the problem in 3.4. In 3.2 it works.
    • Bug Priority:
      Category 2

      Description

      Defining a link within the Alfresco user interface that executes a script, only works for users administrators. For the rest of the users, when they try to execute the action, they are returned to the login page and the script is not executed.

      For example, the code in web-client-config-custom.xml could be something like this:

      <config>
      <actions>

      <action id="my_btn">
      <label>My link</label>
      <image>/images/icons/add.gif</image>
      <script>/Company Home/Data Dictionary/Scripts/crear_exp.js</script>
      <params>
      <param name="noderef">#

      {actionContext.nodeRef}

      </param>
      <param name="id">#

      {actionContext.id}

      </param>
      </params>
      </action>

      <action-group id="space_browse_menu">
      <action idref="my_btn" />
      </action-group>

      <action-group id="space_details_actions">
      <action idref="my_btn" />
      </action-group>

      </actions>
      </config>

        Attachments

          Activity

            People

            • Assignee:
              closedissues Closed Issues
              Reporter:
              lvasa Laura (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 4 hours
                4h