// it.
// Other user can't update it.
// thats why we will disable the Edit button
boolean editFlag = false;
if (kVO.getStatus() != null && kVO.getStatus().equals("PUBLISH")) {
AuthorizationHome homeAuthorization = (AuthorizationHome)CVUtility.getHomeObject(
"com.centraview.administration.authorization.AuthorizationHome", "Authorization");
try {
Authorization remoteAuthorization = homeAuthorization.create();
remoteAuthorization.setDataSource(dataSource);
editFlag = remoteAuthorization.canPerformRecordOperation(individualID, "KnowledgeBase",
kbId, ModuleFieldRightMatrix.UPDATE_RIGHT);
} catch (Exception e) {
logger.error("[Exception] [ViewKnowledgebaseHandler.execute Calling Authorization] ", e);