Uploaded image for project: 'SR for Bitbucket - Development'
  1. SR for Bitbucket - Development
  2. SRBITB-261

Support abstract/interface event classes

    Details

    • Type: Bug
    • Status: Done (View Workflow)
    • Priority: High
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.3.8
    • Labels:
      None
    • Sprint:
      Sprint 37 - Ends Nov 28
    • Critical Points:
      0

      Description

      A common use case for this would be in listening for permission granted events and possibly blocking them. Currently you have to specify global, repository and project level event classes:

      GlobalPermissionGrantRequestedEvent, ProjectPermissionGrantRequestedEvent, RepositoryPermissionGrantRequestedEvent

      Allowing abstract event classes to be listed would allow you to just specify one class to listen for all the permission grant events: PermissionGrantRequestedEvent

      This may have performance implications if your listening for an abstract event that's fired many times, but we could have an in product warning about this when one is selected, or something in the documentation.

        Attachments

          Structure

            Activity

              People

              Assignee:
              dyelamos Daniel Yelamos [X] (Inactive)
              Reporter:
              amarkham Adam Markham
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Structure Helper Panel