projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'master' of git.freeside.biz:/home/git/freeside
[freeside.git]
/
rt
/
lib
/
RT
/
Article.pm
diff --git
a/rt/lib/RT/Article.pm
b/rt/lib/RT/Article.pm
index
7310241
..
24b952a
100644
(file)
--- a/
rt/lib/RT/Article.pm
+++ b/
rt/lib/RT/Article.pm
@@
-543,6
+543,17
@@
sub CurrentUserHasRight {
}
+=head2 CurrentUserCanSee
+
+Returns true if the current user can see the article, using ShowArticle
+
+=cut
+
+sub CurrentUserCanSee {
+ my $self = shift;
+ return $self->CurrentUserHasRight('ShowArticle');
+}
+
# }}}
# {{{ _Set