This commit is contained in:
liugang
2017-10-26 17:55:18 +08:00
11 changed files with 375 additions and 3 deletions
+2
View File
@@ -1162,6 +1162,8 @@ class commonModel extends model
global $app;
if(!empty($app->user->admin)) return true;
if($module = 'todo' and ($method == 'create' or $method == 'batchcreate')) return true;
if($module = 'effort' and ($method == 'createforobject' or $method == 'batchcreate')) return true;
// limited project
$limitedProject = false;