File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -823,6 +823,27 @@ Event that allows to register a feature policy header to a request.
823823.. versionadded :: 19
824824
825825
826+ ``OCP\Share\ShareReview\Events\ShareReviewAccessCheckEvent ``
827+ ************************************************************
828+
829+ .. versionadded :: 34.0.2
830+
831+ Authorization gate for deleting an app-managed share through a share-review app. Dispatched by the app that owns
832+ the share (its ``OCP\Share\ShareReview\IShareReviewSource `` implementation) at the beginning of ``deleteShare() ``,
833+ before anything is deleted. The share-review app listens to this event and answers with ``grantAccess() `` or
834+ ``denyAccess() `` depending on whether the current user is an authorized share-review operator; apps that merely
835+ expose shares must not listen to it. The event is default-deny: if no listener responds, the share must not be
836+ deleted. Once denied, further grants are ignored and event propagation is stopped.
837+
838+ ``OCP\Share\ShareReview\RegisterShareReviewSourceEvent ``
839+ ********************************************************
840+
841+ .. versionadded :: 34.0.2
842+
843+ Event dispatched by a share-review app to collect share sources from other apps. Listeners register the class name
844+ of their ``OCP\Share\ShareReview\IShareReviewSource `` implementation, whose ``getShares() `` method returns a list of
845+ ``OCP\Share\ShareReview\ShareReviewEntry `` objects.
846+
826847``OCP\SpeechToText\Events\TranscriptionFailedEvent ``
827848****************************************************
828849
You can’t perform that action at this time.
0 commit comments