~bestpractical/rt/master

« back to all changes in this revision

Viewing changes to lib/RT/Assets.pm

  • Committer: sunnavy
  • Date: 2023-10-19 19:45:11 UTC
  • mfrom: (8471.1.577)
  • Revision ID: git-v1:9fca83d11d15fb8034308194b9c9052d5df7d454
Merge branch '5.0-trunk'

Show diffs side-by-side

added added

removed removed

Lines of Context:
1932
1932
 
1933
1933
}
1934
1934
 
 
1935
sub CurrentUserCanSeeAll {
 
1936
    my $self = shift;
 
1937
    return $self->CurrentUser->HasRight( Right => 'ShowAsset', Object => RT->System ) ? 1 : 0;
 
1938
}
 
1939
 
1935
1940
1;
1936
1941
 
1937
1942
RT::Base->_ImportOverlays();