This commit is contained in:
滔哥
2017-10-26 17:26:12 +08:00
20 changed files with 410 additions and 15 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;