From 8afa5e869ed60bc192990b15312830867c5b73ae Mon Sep 17 00:00:00 2001 From: wangyidong Date: Tue, 5 Aug 2014 08:42:15 +0000 Subject: [PATCH] * add user priv. --- db/zentao.sql | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/db/zentao.sql b/db/zentao.sql index 8d7836e748..84286a48f4 100644 --- a/db/zentao.sql +++ b/db/zentao.sql @@ -832,6 +832,7 @@ INSERT INTO `zt_grouppriv` (`group`, `module`, `method`) VALUES (1, 'story', 'report'), (1, 'story', 'review'), (1, 'story', 'tasks'), +(1, 'story', 'zeroCase'), (1, 'story', 'view'), (1, 'svn', 'apiSync'), (1, 'svn', 'cat'), @@ -858,6 +859,7 @@ INSERT INTO `zt_grouppriv` (`group`, `module`, `method`) VALUES (1, 'testcase', 'batchCreate'), (1, 'testcase', 'batchEdit'), (1, 'testcase', 'browse'), +(1, 'testcase', 'groupCase'), (1, 'testcase', 'confirmStoryChange'), (1, 'testcase', 'create'), (1, 'testcase', 'delete'), @@ -869,6 +871,7 @@ INSERT INTO `zt_grouppriv` (`group`, `module`, `method`) VALUES (1, 'testtask', 'batchRun'), (1, 'testtask', 'browse'), (1, 'testtask', 'cases'), +(1, 'testtask', 'groupCase'), (1, 'testtask', 'close'), (1, 'testtask', 'create'), (1, 'testtask', 'delete'), @@ -1029,11 +1032,13 @@ INSERT INTO `zt_grouppriv` (`group`, `module`, `method`) VALUES (2, 'task', 'start'), (2, 'task', 'view'), (2, 'testcase', 'browse'), +(2, 'testcase', 'groupCase'), (2, 'testcase', 'export'), (2, 'testcase', 'index'), (2, 'testcase', 'view'), (2, 'testtask', 'browse'), (2, 'testtask', 'cases'), +(2, 'testtask', 'groupCase'), (2, 'testtask', 'create'), (2, 'testtask', 'edit'), (2, 'testtask', 'index'), @@ -1154,6 +1159,7 @@ INSERT INTO `zt_grouppriv` (`group`, `module`, `method`) VALUES (3, 'story', 'export'), (3, 'story', 'report'), (3, 'story', 'tasks'), +(3, 'story', 'zeroCase'), (3, 'story', 'view'), (3, 'svn', 'apiSync'), (3, 'svn', 'cat'), @@ -1179,6 +1185,7 @@ INSERT INTO `zt_grouppriv` (`group`, `module`, `method`) VALUES (3, 'testcase', 'batchCreate'), (3, 'testcase', 'batchEdit'), (3, 'testcase', 'browse'), +(3, 'testcase', 'groupCase'), (3, 'testcase', 'confirmStoryChange'), (3, 'testcase', 'create'), (3, 'testcase', 'edit'), @@ -1189,6 +1196,7 @@ INSERT INTO `zt_grouppriv` (`group`, `module`, `method`) VALUES (3, 'testtask', 'batchRun'), (3, 'testtask', 'browse'), (3, 'testtask', 'cases'), +(3, 'testtask', 'groupCase'), (3, 'testtask', 'close'), (3, 'testtask', 'create'), (3, 'testtask', 'edit'), @@ -1348,6 +1356,7 @@ INSERT INTO `zt_grouppriv` (`group`, `module`, `method`) VALUES (4, 'story', 'export'), (4, 'story', 'report'), (4, 'story', 'tasks'), +(4, 'story', 'zeroCase'), (4, 'story', 'view'), (4, 'svn', 'apiSync'), (4, 'svn', 'cat'), @@ -1372,11 +1381,13 @@ INSERT INTO `zt_grouppriv` (`group`, `module`, `method`) VALUES (4, 'task', 'start'), (4, 'task', 'view'), (4, 'testcase', 'browse'), +(4, 'testcase', 'groupCase'), (4, 'testcase', 'export'), (4, 'testcase', 'index'), (4, 'testcase', 'view'), (4, 'testtask', 'browse'), (4, 'testtask', 'cases'), +(4, 'testtask', 'groupCase'), (4, 'testtask', 'create'), (4, 'testtask', 'edit'), (4, 'testtask', 'index'), @@ -1538,6 +1549,7 @@ INSERT INTO `zt_grouppriv` (`group`, `module`, `method`) VALUES (5, 'story', 'report'), (5, 'story', 'review'), (5, 'story', 'tasks'), +(5, 'story', 'zeroCase'), (5, 'story', 'view'), (5, 'svn', 'apiSync'), (5, 'svn', 'cat'), @@ -1549,11 +1561,13 @@ INSERT INTO `zt_grouppriv` (`group`, `module`, `method`) VALUES (5, 'task', 'report'), (5, 'task', 'view'), (5, 'testcase', 'browse'), +(5, 'testcase', 'groupCase'), (5, 'testcase', 'export'), (5, 'testcase', 'index'), (5, 'testcase', 'view'), (5, 'testtask', 'browse'), (5, 'testtask', 'cases'), +(5, 'testtask', 'groupCase'), (5, 'testtask', 'index'), (5, 'testtask', 'results'), (5, 'testtask', 'view'), @@ -1707,6 +1721,7 @@ INSERT INTO `zt_grouppriv` (`group`, `module`, `method`) VALUES (6, 'story', 'export'), (6, 'story', 'report'), (6, 'story', 'tasks'), +(6, 'story', 'zeroCase'), (6, 'story', 'view'), (6, 'svn', 'apiSync'), (6, 'svn', 'cat'), @@ -1731,11 +1746,13 @@ INSERT INTO `zt_grouppriv` (`group`, `module`, `method`) VALUES (6, 'task', 'start'), (6, 'task', 'view'), (6, 'testcase', 'browse'), +(6, 'testcase', 'groupCase'), (6, 'testcase', 'export'), (6, 'testcase', 'index'), (6, 'testcase', 'view'), (6, 'testtask', 'browse'), (6, 'testtask', 'cases'), +(6, 'testtask', 'groupCase'), (6, 'testtask', 'create'), (6, 'testtask', 'edit'), (6, 'testtask', 'index'), @@ -1892,6 +1909,7 @@ INSERT INTO `zt_grouppriv` (`group`, `module`, `method`) VALUES (7, 'story', 'report'), (7, 'story', 'review'), (7, 'story', 'tasks'), +(7, 'story', 'zeroCase'), (7, 'story', 'view'), (7, 'svn', 'apiSync'), (7, 'svn', 'cat'), @@ -1903,11 +1921,13 @@ INSERT INTO `zt_grouppriv` (`group`, `module`, `method`) VALUES (7, 'task', 'report'), (7, 'task', 'view'), (7, 'testcase', 'browse'), +(7, 'testcase', 'groupCase'), (7, 'testcase', 'export'), (7, 'testcase', 'index'), (7, 'testcase', 'view'), (7, 'testtask', 'browse'), (7, 'testtask', 'cases'), +(7, 'testtask', 'groupCase'), (7, 'testtask', 'index'), (7, 'testtask', 'results'), (7, 'testtask', 'view'), @@ -2044,6 +2064,7 @@ INSERT INTO `zt_grouppriv` (`group`, `module`, `method`) VALUES (8, 'story', 'export'), (8, 'story', 'report'), (8, 'story', 'tasks'), +(8, 'story', 'zeroCase'), (8, 'story', 'view'), (8, 'svn', 'apiSync'), (8, 'svn', 'cat'), @@ -2070,6 +2091,7 @@ INSERT INTO `zt_grouppriv` (`group`, `module`, `method`) VALUES (8, 'testcase', 'batchCreate'), (8, 'testcase', 'batchEdit'), (8, 'testcase', 'browse'), +(8, 'testcase', 'groupCase'), (8, 'testcase', 'confirmStoryChange'), (8, 'testcase', 'create'), (8, 'testcase', 'delete'), @@ -2081,6 +2103,7 @@ INSERT INTO `zt_grouppriv` (`group`, `module`, `method`) VALUES (8, 'testtask', 'batchRun'), (8, 'testtask', 'browse'), (8, 'testtask', 'cases'), +(8, 'testtask', 'groupCase'), (8, 'testtask', 'close'), (8, 'testtask', 'create'), (8, 'testtask', 'delete'), @@ -2208,6 +2231,7 @@ INSERT INTO `zt_grouppriv` (`group`, `module`, `method`) VALUES (9, 'story', 'report'), (9, 'story', 'review'), (9, 'story', 'tasks'), +(9, 'story', 'zeroCase'), (9, 'story', 'view'), (9, 'svn', 'apiSync'), (9, 'svn', 'cat'), @@ -2219,11 +2243,13 @@ INSERT INTO `zt_grouppriv` (`group`, `module`, `method`) VALUES (9, 'task', 'report'), (9, 'task', 'view'), (9, 'testcase', 'browse'), +(9, 'testcase', 'groupCase'), (9, 'testcase', 'export'), (9, 'testcase', 'index'), (9, 'testcase', 'view'), (9, 'testtask', 'browse'), (9, 'testtask', 'cases'), +(9, 'testtask', 'groupCase'), (9, 'testtask', 'index'), (9, 'testtask', 'results'), (9, 'testtask', 'view'), @@ -2390,10 +2416,12 @@ INSERT INTO `zt_grouppriv` (`group`, `module`, `method`) VALUES (11, 'task', 'recordEstimate'), (11, 'task', 'view'), (11, 'testcase', 'browse'), +(11, 'testcase', 'groupCase'), (11, 'testcase', 'index'), (11, 'testcase', 'view'), (11, 'testtask', 'browse'), (11, 'testtask', 'cases'), +(11, 'testtask', 'groupCase'), (11, 'testtask', 'index'), (11, 'testtask', 'results'), (11, 'testtask', 'view'),