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

Support abstract/interface event classes

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Done
    • High
    • Resolution: Fixed
    • None
    • 5.3.8
    • None
    • None
    • Sprint 37 - Ends Nov 28
    • 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

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: