Commit 9422a36d authored by asikarwar's avatar asikarwar

Add two more character in User Right for Copy Transaction the rights...

Add two more character in User Right for Copy Transaction  the rights character is "T" and for Comments it is "M"


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@93370 ce508802-f39f-4f6c-b175-0d175dae99d5
parent d11bebe1
......@@ -236,7 +236,7 @@ public class UserRightsPrc extends ProcessEJB implements UserRightsPrcLocal , U
" ITM2MENU.LEVEL_5, " +
" ITM2MENU.WIN_NAME, " +
" ITM2MENU.DESCR, " +
" (SELECT USER_RIGHTS.RIGHTS FROM USER_RIGHTS " +
" (SELECT USER_RIGHTS.RIGHTS FROM USER_RIGHTS " +
" WHERE USER_RIGHTS.PROFILE_ID = ? " +
" AND USER_RIGHTS.APPLICATION = ITM2MENU.APPLICATION " +
" AND USER_RIGHTS.MENU_ROW = ITM2MENU.LEVEL_1 " +
......@@ -245,7 +245,7 @@ public class UserRightsPrc extends ProcessEJB implements UserRightsPrcLocal , U
" AND USER_RIGHTS.LEVEL_4 = ITM2MENU.LEVEL_4 " +
" AND USER_RIGHTS.LEVEL_5 = ITM2MENU.LEVEL_5 " +
" ) AS RIGHTS " +
" FROM ITM2MENU " ;
" FROM ITM2MENU " ;
if (usrLev > 0 )
{
sqlStr = sqlStr + " where exists (select 1 from user_rights u "
......@@ -612,6 +612,11 @@ public class UserRightsPrc extends ProcessEJB implements UserRightsPrcLocal , U
relArray.add("#");
relArray.add("$");
relArray.add("*");
relArray.add("T"); //added by akhilesh on 24/JULY/2013 for Copy Transaction option
relArray.add("M"); //added by akhilesh on 24/JULY/2013 for Comments option
System.out.println("relArray and rights value 2 ["+relArray + "]");
rs.close();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment