Authorisation related functions.
This entire module will be removed some time in
the future
Many of these functions are being replaced with assertions:
User.assert_can...
-
askbot.auth.calculate_reputation(origin, offset)
-
askbot.auth.can_view_user_edit(request_user, target_user)
-
askbot.auth.can_view_user_preferences(request_user, target_user)
-
askbot.auth.can_view_user_votes(request_user, target_user)
-
askbot.auth.is_user_self(request_user, target_user)
-
askbot.auth.onAnswerAccept(*args, **kw)
-
askbot.auth.onAnswerAcceptCanceled(*args, **kw)
-
askbot.auth.onDownVoted(*args, **kw)
-
askbot.auth.onDownVotedCanceled(*args, **kw)
-
askbot.auth.onFlaggedItem(*args, **kw)
-
askbot.auth.onUpVoted(*args, **kw)
-
askbot.auth.onUpVotedCanceled(*args, **kw)