You are here

function user_rev_diff_user_revision_access in User Revision 7.2

Same name in this branch
  1. 7.2 diff/user_rev_diff.api.php \user_rev_diff_user_revision_access()
  2. 7.2 diff/user_rev_diff.module \user_rev_diff_user_revision_access()

Determines whether a user has access to perform a certain operation on a revision.

Parameters

object $user The user object of the user in question.:

mixed $op Either a string or an array:: String: A single word describing the action: 'view', 'edit', 'delete', 'revert' Array: Each element is a full permission string: 'view user revisions', 'edit user revisions', 'delete user revisions', 'revert user revisions'

File

diff/user_rev_diff.api.php, line 58
API functions for the user_rev_diff module. WARNING: Do NOT include this file ANYWHERE. This file is only used to have all API functions in one place for documentation purposed. If this file is included you will get error messages, possibly fatal…

Code

function user_rev_diff_user_revision_access($user, $op = "view") {
}