Skip to content
This repository has been archived by the owner on Apr 12, 2023. It is now read-only.

Commit

Permalink
Could not see the project, need some default permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeremy D committed Nov 6, 2011
1 parent d54e651 commit ff68eef
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions converter.php
Expand Up @@ -663,17 +663,17 @@ function doStep2()
// Add the default permissions.
$this->tbg_db->query('
INSERT INTO ' . $this->tbg_db_prefix . 'permissions (permission_type, target_id, allowed, module, uid, gid, tid, scope) VALUES
("canseeproject", " . $row["id"] . ", 1, "core", 1, 0, 0, 1),
("canseeprojecthierarchy", " . $row["id"] . ", 1, "core", 1, 0, 0, 1),
("canmanageproject", " . $row["id"] . ", 1, "core", 1, 0, 0, 1),
("page_project_allpages_access", " . $row["id"] . ", 1, "core", 1, 0, 0, 1),
("canvoteforissues", " . $row["id"] . ", 1, "core", 1, 0, 0, 1),
("canlockandeditlockedissues", " . $row["id"] . ", 1, "core", 1, 0, 0, 1),
("cancreateandeditissues", " . $row["id"] . ", 1, "core", 1, 0, 0, 1),
("caneditissue", " . $row["id"] . ", 1, "core", 1, 0, 0, 1),
("caneditissuecustomfields", " . $row["id"] . ", 1, "core", 1, 0, 0, 1),
("canaddextrainformationtoissues", " . $row["id"] . ", 1, "core", 1, 0, 0, 1),
("canpostseeandeditallcomments", " . $row["id"] . ", 1, "core", 1, 0, 0, 1)');
("canseeproject", ' . $row['id'] . ', 1, "core", 1, 0, 0, 1),
("canseeprojecthierarchy", ' . $row['id'] . ', 1, "core", 1, 0, 0, 1),
("canmanageproject", ' . $row['id'] . ', 1, "core", 1, 0, 0, 1),
("page_project_allpages_access", ' . $row['id'] . ', 1, "core", 1, 0, 0, 1),
("canvoteforissues", ' . $row['id'] . ', 1, "core", 1, 0, 0, 1),
("canlockandeditlockedissues", ' . $row['id'] . ', 1, "core", 1, 0, 0, 1),
("cancreateandeditissues", ' . $row['id'] . ', 1, "core", 1, 0, 0, 1),
("caneditissue", ' . $row['id'] . ', 1, "core", 1, 0, 0, 1),
("caneditissuecustomfields", ' . $row['id'] . ', 1, "core", 1, 0, 0, 1),
("canaddextrainformationtoissues", ' . $row['id'] . ', 1, "core", 1, 0, 0, 1),
("canpostseeandeditallcomments", ' . $row['id'] . ', 1, "core", 1, 0, 0, 1)');

++$i;
}
Expand Down

0 comments on commit ff68eef

Please sign in to comment.