Interface PermissionRevocationRequestedEvent
- All Superinterfaces:
CancelableEvent
,CancelState
- All Known Implementing Classes:
GlobalPermissionRevocationRequestedEvent
,ProjectPermissionRevocationRequestedEvent
,RepositoryPermissionRevocationRequestedEvent
This event is raised before a user or group's permission is revoked. This event is synchronous,
allowing listeners to perform operations in the same database transaction where the permission is revoked.
This event is cancelable
. A listener may prevent the permission
from being revoked by canceling
this event.
Throwing an exception will not prevent the permission from being revoked;
the exception will be logged and ignored.
-
Method Summary
Methods inherited from interface com.atlassian.bitbucket.util.CancelState
cancel, isCanceled
-
Method Details
-
getPermission
Permission getPermission()
-