PHP Class App\Libraries\OsuAuthorize

Show file Open project: ppy/osu-web

Public Methods

Method Description
checkBeatmapDiscussionDestroy ( $user, $discussion )
checkBeatmapDiscussionPostDestroy ( $user, $post )
checkBeatmapDiscussionPostEdit ( $user, $post )
checkBeatmapDiscussionPostRestore ( $user, $post )
checkBeatmapDiscussionPostShow ( $user, $post )
checkBeatmapDiscussionPostStore ( $user, $discussion )
checkBeatmapDiscussionResolve ( $user, $discussion )
checkBeatmapDiscussionRestore ( $user, $discussion )
checkBeatmapDiscussionShow ( $user, $discussion )
checkBeatmapDiscussionVote ( $user, $discussion )
checkBeatmapsetDisqualify ( $user, $beatmapset )
checkBeatmapsetNominate ( $user, $beatmapset )
checkChatChannelRead ( $user, $channel )
checkChatMessageSend ( $user, $target )
checkContestEntryDestroy ( $user, $contestEntry )
checkContestEntryStore ( $user, $contest )
checkContestVote ( $user, $contest )
checkForumPostDelete ( $user, $post )
checkForumPostEdit ( $user, $post )
checkForumTopicCoverEdit ( $user, $cover )
checkForumTopicEdit ( $user, $topic )
checkForumTopicModerate ( $user, $topic )
checkForumTopicReply ( $user, $topic )
checkForumTopicStore ( $user, $forum )
checkForumTopicVote ( $user, $topic )
checkForumTopicWatchAdd ( $user, $topic )
checkForumTopicWatchRemove ( $user, $topic )
checkForumView ( $user, $forum )
checkLivestreamPromote ( $user )
checkUserFavourite ( $user )
checkUserFavouriteRemove ( $user )
checkUserPageEdit ( $user, $pageOwner )
checkUserShow ( $user, $owner )
doCheckUser ( $user, $ability, $object )
ensureCleanRecord ( $user, $prefix = '' )
ensureLoggedIn ( $user, $prefix = '' )

Method Details

checkBeatmapDiscussionDestroy() public method

public checkBeatmapDiscussionDestroy ( $user, $discussion )

checkBeatmapDiscussionPostDestroy() public method

public checkBeatmapDiscussionPostDestroy ( $user, $post )

checkBeatmapDiscussionPostEdit() public method

public checkBeatmapDiscussionPostEdit ( $user, $post )

checkBeatmapDiscussionPostRestore() public method

public checkBeatmapDiscussionPostRestore ( $user, $post )

checkBeatmapDiscussionPostShow() public method

public checkBeatmapDiscussionPostShow ( $user, $post )

checkBeatmapDiscussionPostStore() public method

public checkBeatmapDiscussionPostStore ( $user, $discussion )

checkBeatmapDiscussionResolve() public method

public checkBeatmapDiscussionResolve ( $user, $discussion )

checkBeatmapDiscussionRestore() public method

public checkBeatmapDiscussionRestore ( $user, $discussion )

checkBeatmapDiscussionShow() public method

public checkBeatmapDiscussionShow ( $user, $discussion )

checkBeatmapDiscussionVote() public method

public checkBeatmapDiscussionVote ( $user, $discussion )

checkBeatmapsetDisqualify() public method

public checkBeatmapsetDisqualify ( $user, $beatmapset )

checkBeatmapsetNominate() public method

public checkBeatmapsetNominate ( $user, $beatmapset )

checkChatChannelRead() public method

public checkChatChannelRead ( $user, $channel )

checkChatMessageSend() public method

public checkChatMessageSend ( $user, $target )

checkContestEntryDestroy() public method

public checkContestEntryDestroy ( $user, $contestEntry )

checkContestEntryStore() public method

public checkContestEntryStore ( $user, $contest )

checkContestVote() public method

public checkContestVote ( $user, $contest )

checkForumPostDelete() public method

public checkForumPostDelete ( $user, $post )

checkForumPostEdit() public method

public checkForumPostEdit ( $user, $post )

checkForumTopicCoverEdit() public method

public checkForumTopicCoverEdit ( $user, $cover )

checkForumTopicEdit() public method

public checkForumTopicEdit ( $user, $topic )

checkForumTopicModerate() public method

public checkForumTopicModerate ( $user, $topic )

checkForumTopicReply() public method

public checkForumTopicReply ( $user, $topic )

checkForumTopicStore() public method

public checkForumTopicStore ( $user, $forum )

checkForumTopicVote() public method

public checkForumTopicVote ( $user, $topic )

checkForumTopicWatchAdd() public method

public checkForumTopicWatchAdd ( $user, $topic )

checkForumTopicWatchRemove() public method

public checkForumTopicWatchRemove ( $user, $topic )

checkForumView() public method

public checkForumView ( $user, $forum )

checkLivestreamPromote() public method

public checkLivestreamPromote ( $user )

checkUserFavourite() public method

public checkUserFavourite ( $user )

checkUserFavouriteRemove() public method

public checkUserFavouriteRemove ( $user )

checkUserPageEdit() public method

public checkUserPageEdit ( $user, $pageOwner )

checkUserShow() public method

public checkUserShow ( $user, $owner )

doCheckUser() public method

public doCheckUser ( $user, $ability, $object )

ensureCleanRecord() public method

public ensureCleanRecord ( $user, $prefix = '' )

ensureLoggedIn() public method

public ensureLoggedIn ( $user, $prefix = '' )