Uploaded image for project: 'Jira Data Center'
  1. Jira Data Center
  2. JRASERVER-15766

Portlet permission errors when admin edits default dashboard

    XMLWordPrintable

Details

    Description

      It appears to be impossible to edit the default dashboard, if your user has the sysadmin global permission but perhaps not others.

      After applying the patch on JRA-15573, I click the edit icon after selecting the "Assigned to me" portlet. JIRA returns: "You don't have permission to view the portlet 'ASSIGNEDTOME'.":

      A similar error with the "Assigned to me" portlet. Also if I select any portlet and move it up/down, then the page breaks with a stacktrace:

      Cause:
      com.atlassian.jira.portal.PortletConfigurationException: You don't have permission to view the portlet 'INPROGRESS'.
      
      Stack Trace: [hide]
      
      com.atlassian.jira.portal.PortletConfigurationException: You don't have permission to view the portlet 'INPROGRESS'.
      	at com.atlassian.jira.web.action.portal.AbstractConfigurePortal.checkServiceContext(AbstractConfigurePortal.java:262)
      	at com.atlassian.jira.web.action.portal.AbstractConfigurePortal.savePortalConfig(AbstractConfigurePortal.java:281)
      	at com.atlassian.jira.web.action.portal.AbstractConfigurePortal.doSave(AbstractConfigurePortal.java:270)
      	at com.atlassian.jira.web.action.portal.AbstractConfigurePortal.doMove(AbstractConfigurePortal.java:184)
      	at com.atlassian.jira.web.action.portal.AbstractConfigurePortal.doExecute(AbstractConfigurePortal.java:94)
      	at webwork.action.ActionSupport.execute(ActionSupport.java:153)
      	at com.atlassian.jira.action.JiraActionSupport.execute(JiraActionSupport.java:54)
      	at webwork.dispatcher.GenericDispatcher.executeAction(GenericDispatcher.java:132)
      	at com.atlassian.jira.web.dispatcher.JiraServletDispatcher.service(JiraServletDispatcher.java:178)
      	at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
      	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
      ...
      

      Attachments

        Issue Links

          Activity

            People

              bbain bain
              7ee5c68a815f Jeff Turner
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: