Uploaded image for project: 'SR for Jira - Development'
  1. SR for Jira - Development
  2. SRJIRA-2113

Change dashboard or filter ownership permission issues

    XMLWordPrintableJSON

    Details

    • Sprint:
      Sprint 27 - Ends Feb 15
    • Critical Points:
      0.7

      Description

      Steps to reproduce

      • Login as admin and create and save 3 filters
      • Mark some of them as favourite some of them not
      • Change ownership from admin to anuser
      • And then back from anuser to admin

      Then an error appears

      com.atlassian.jira.exception.PermissionException: User (admin(admin)) does not have permission to see entity - SearchRequest:10001
      	at com.atlassian.jira.favourites.DefaultFavouritesManager.checkPermissions(DefaultFavouritesManager.java:287)
      	at com.atlassian.jira.favourites.DefaultFavouritesManager.addFavourite(DefaultFavouritesManager.java:40)
      	at com.atlassian.jira.favourites.FavouritesManager$addFavourite$0.call(Unknown Source)
      	at com.onresolve.scriptrunner.canned.jira.admin.ChangeSharedEntityOwnership.chownSearchRequest(ChangeSharedEntityOwnership.groovy:163)
      	at com.onresolve.scriptrunner.canned.jira.admin.ChangeSharedEntityOwnership.doScript(ChangeSharedEntityOwnership.groovy:292)
      	at com.onresolve.scriptrunner.canned.jira.admin.ChangeSharedEntityOwnership$doScript$1.callCurrent(Unknown Source)
      	at com.onresolve.scriptrunner.canned.jira.admin.ChangeSharedEntityOwnership.doScript(ChangeSharedEntityOwnership.groovy:168)
      

      Probably some caching issues.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              tbatagiannis Thanos Batagiannis
              Reporter:
              tbatagiannis Thanos Batagiannis
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: