Uploaded image for project: 'Jira Service Management Data Center'
  1. Jira Service Management Data Center
  2. JSDSERVER-5531

Customer portal "Share" unwanted customer creation when login using Admin user

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Unresolved
    • None
    • Customer Portal
    • None
    • 14
    • 5
    • We collect Jira Service Desk feedback from various sources, and we evaluate what we've collected when planning our product roadmap. To understand how this piece of feedback will be reviewed, see our Implementation of New Features Policy.

    Description

      The "Share" button of the Customer portal requests should respect the current configuration of the Customer Portal. If the portal is not configured for New Customers, the "Share" function shouldn't allow the creation of new customers, as it currently does.

      • This is currently possible if Project admin, Jira administrator or Jira System Administrator share to new customer from portal.

      Steps to reproduce:

      1. Login to Customer portal as either Project admin, Jira administrator or Jira System Administrator.
      2. Configure a Customer Portal with the permission that should not allow anyone to create the account
      3. Create a Service Desk request
      4. Share it with an e-mail that doesn't belong to any other account
      5. You'll notice that the E-mail will be added as a customer on the portal

      Workaround

      The following workaround may or may not be suitable for your team. It disables Jira service desk "Share" feature for any user input, even those inside your organisation. The share button will show, but the Share button will do nothing.

      Please note that this workaround does not affect Jira's inbuilt Share feature, which is not affected by this unwanted behavior (    )

      1. Edit JIRA_INST/atlassian-jira/WEB-INF/urlrewrite.xml
      2. Insert the following block immediately before the final </urlrewrite> tag:
        		<!--Workaround for JSDSERVER-5531 -->
        		<rule>
        		    <from>^/rest/servicedesk/1/customer/participants/.*/share$</from>
        		    <condition type="method">PUT</condition>
                <set type="status">403</set>
                <to>null</to>
        		</rule>
        
      1. Restart the application for the changes to take effect

      Attachments

        Issue Links

          Activity

            People

              e0eb84d6fb47 Dhanapal Mohanasamy
              bpicarelli Benito Picarelli
              Votes:
              15 Vote for this issue
              Watchers:
              23 Start watching this issue

              Dates

                Created:
                Updated:

                Backbone Issue Sync