From 1bf54ac4463cc9a821bb818f6c8cfb01d981e91a Mon Sep 17 00:00:00 2001
From: 이민희 <mhlee@maprex.co.kr>
Date: 목, 23 12월 2021 15:51:29 +0900
Subject: [PATCH] - '이슈관리' 권한은 내가 속해있는 프로젝트의 이슈에 대해서만 관리 권한이 있음 - 일반 사용자 검색 문제 해결 - 이슈리스트 툴팁 재추가

---
 src/main/java/kr/wisestone/owl/constant/MngPermission.java |   39 ++++++++++++++++++++++-----------------
 1 files changed, 22 insertions(+), 17 deletions(-)

diff --git a/src/main/java/kr/wisestone/owl/constant/MngPermission.java b/src/main/java/kr/wisestone/owl/constant/MngPermission.java
index 6531dd9..ac79644 100644
--- a/src/main/java/kr/wisestone/owl/constant/MngPermission.java
+++ b/src/main/java/kr/wisestone/owl/constant/MngPermission.java
@@ -5,18 +5,20 @@
  */
 public class MngPermission {
 
-    public static final int USER_PERMISSION_MNG_WORKSPACE = 4096;   //  WORK SPACE 愿�由�    1000000000000
-    public static final int USER_PERMISSION_MNG_PROJECT = 2048;   //  �봽濡쒖젥�듃 愿�由�          0100000000000
-    public static final int USER_PERMISSION_MNG_USER = 1024;        //  USER 愿�由�           0010000000000
-    public static final int USER_PERMISSION_MNG_ISSUE_STATUS = 512;  //  ISSUE SETTING 愿�由� 0001000000000
-    public static final int USER_PERMISSION_MNG_WORKFLOW = 256;     // WORK FLOW 愿�由�       0000100000000
-    public static final int USER_PERMISSION_MNG_CUSTOME_FIELD = 128; //  �궗�슜�옄�젙�쓽 �븘�뱶 愿�由�  0000010000000
-    public static final int USER_PERMISSION_MNG_ISSUE_TYPE = 64;    //  ISSUE TYPE 愿�由�     0000000100000
-    public static final int USER_PERMISSION_MNG_NOTICE = 32;        //  ISSUE TYPE 愿�由�     0000000010000
-    public static final int USER_PERMISSION_MNG_FAQ = 16;            //  FAQ 愿�由�           0000000001000
-    public static final int USER_PERMISSION_MNG_QNA = 8;           //  怨듭��궗�빆 愿�由�          0000000000100
-    public static final int USER_PERMISSION_MNG_EVENT = 4;          //  怨듭��궗�빆 愿�由�         0000000000010
-    public static final int USER_PERMISSION_MNG_GUIDE = 2;          //  �궗�슜�옄 �븣由� 愿�由�      0000000000001
+    public static final int USER_PERMISSION_MNG_WORKSPACE = 16384;   //  WORK SPACE 愿�由�       01000000000000
+    public static final int USER_PERMISSION_MNG_PROJECT = 8192;   //  �봽濡쒖젥�듃 愿�由�             00100000000000
+    public static final int USER_PERMISSION_MNG_ISSUE = 4096; // �씠�뒋 愿�由�
+    public static final int USER_PERMISSION_MNG_PARTNER = 2048;   //  �뾽泥�/ISP/�샇�뒪�똿 愿�由�      10000000000000
+    public static final int USER_PERMISSION_MNG_API = 1024;        //  API 愿�由�               00010000000000
+    public static final int USER_PERMISSION_MNG_ISSUE_STATUS = 512;  //  ISSUE SETTING 愿�由�   00001000000000
+    public static final int USER_PERMISSION_MNG_WORKFLOW = 256;     // WORK FLOW 愿�由�         000000100000000
+    public static final int USER_PERMISSION_MNG_CUSTOME_FIELD = 128; //  �궗�슜�옄�젙�쓽 �븘�뱶 愿�由�    00000010000000
+    public static final int USER_PERMISSION_MNG_ISSUE_TYPE = 64;    //  ISSUE TYPE 愿�由�       00000000100000
+    public static final int USER_PERMISSION_MNG_NOTICE = 32;        //  ISSUE TYPE 愿�由�       00000000010000
+    public static final int USER_PERMISSION_MNG_FAQ = 16;            //  FAQ 愿�由�             00000000001000
+    public static final int USER_PERMISSION_MNG_QNA = 8;           //  怨듭��궗�빆 愿�由�            00000000000100
+    public static final int USER_PERMISSION_MNG_EVENT = 4;          //  怨듭��궗�빆 愿�由�           00000000000010
+    public static final int USER_PERMISSION_MNG_GUIDE = 2;          //  �궗�슜�옄 �븣由� 愿�由�        00000000000001
     public static final int USER_PERMISSION_MNG_NONE = 0;          //
 
     public static final int USER_PERMISSION_MNG_ISSUE_SETTING = (USER_PERMISSION_MNG_ISSUE_STATUS | USER_PERMISSION_MNG_WORKFLOW |
@@ -37,13 +39,15 @@
 
     public static int makeAllPermission()
     {
-        return (USER_PERMISSION_MNG_WORKSPACE |
-                            USER_PERMISSION_MNG_PROJECT |
-                          USER_PERMISSION_MNG_USER |
+        return (
+                USER_PERMISSION_MNG_PROJECT |
+                USER_PERMISSION_MNG_ISSUE |
+                USER_PERMISSION_MNG_WORKSPACE |
+                USER_PERMISSION_MNG_PARTNER |
+                USER_PERMISSION_MNG_API |
                 USER_PERMISSION_MNG_NOTICE |
                 USER_PERMISSION_MNG_FAQ |
                 USER_PERMISSION_MNG_QNA |
-                USER_PERMISSION_MNG_EVENT |
                 USER_PERMISSION_MNG_GUIDE |
                 USER_PERMISSION_MNG_ISSUE_SETTING);
     }
@@ -51,7 +55,8 @@
     public static int makeSubAllPermission()
     {
         return  (/*USER_PERMISSION_MNG_WORKSPACE |*/
-                USER_PERMISSION_MNG_USER | USER_PERMISSION_MNG_NOTICE |
+                USER_PERMISSION_MNG_ISSUE |
+                USER_PERMISSION_MNG_API | USER_PERMISSION_MNG_NOTICE |
                 USER_PERMISSION_MNG_FAQ | USER_PERMISSION_MNG_QNA |
                 USER_PERMISSION_MNG_EVENT | USER_PERMISSION_MNG_GUIDE |
                         USER_PERMISSION_MNG_ISSUE_SETTING);

--
Gitblit v1.8.0