Interface PermissionGrantedEvent

All Known Implementing Classes:
GlobalPermissionGrantedEvent, ProjectPermissionGrantedEvent, RepositoryPermissionGrantedEvent

public interface PermissionGrantedEvent
An event which is fired when a user or group is granted a permission.
See Also:
  • Method Details

    • getAffectedGroup

      @Nullable String getAffectedGroup()
      Returns:
      the affected group of null if a user was affected
    • getAffectedUser

      @Nullable ApplicationUser getAffectedUser()
      Returns:
      the affected user of null if a group was affected
    • getPermission

      @Nonnull Permission getPermission()
      Returns:
      the permission granted