void function ( ) { if ( ! getPolicy ( ) . isAllowed ( PublishAction . NAME ) ) { throw new PentahoAccessControlException ( "srini_string" ) ; } }
check if user has the rights to publish or is administrator concode_field_sep IPlatformImporter platformImporter concode_elem_sep Log logger concode_elem_sep IAuthorizationPolicy policy concode_field_sep IPlatformImportBundle buildBundle concode_elem_sep IPlatformImportBundle prepareBundle concode_elem_sep IPlatformImporter getPlatformImporter concode_elem_sep IAuthorizationPolicy getPolicy concode_elem_sep void writeFile concode_elem_sep void publishFile