public void afterDistribute ( RunReportHistory history , DistributionContext context ) { for ( String username : users ) { try { context . getSecurityService ( ) . grantUser ( history . getPath ( ) , username , PermissionUtil . getRead ( ) , false ) ; } catch ( Exception e ) { LOG . error ( e . getMessage ( ) , e ) ; } } }
update acl for run report history