diff options
author | Eudyptula <eitan@mosenkis.net> | 2009-08-14 11:12:45 -0400 |
---|---|---|
committer | Eudyptula <eitan@mosenkis.net> | 2009-08-14 11:12:45 -0400 |
commit | 79d0a253da7c8b167624889df7a61083d6203484 (patch) | |
tree | 73efc8d0d4e6541731fce142047522bbb319b0d5 /frontend/pages/builds/download.php | |
parent | Added ebuild; added ntpd to init deps; builds show [failed] in frontend when ... (diff) | |
download | ingenue-79d0a253da7c8b167624889df7a61083d6203484.tar.gz ingenue-79d0a253da7c8b167624889df7a61083d6203484.tar.bz2 ingenue-79d0a253da7c8b167624889df7a61083d6203484.zip |
Create sql_row_with_flags class, make user, build, configuration subclasses of it, replace visibility in builds, configurations with flags column; fix init script for correct path
Diffstat (limited to 'frontend/pages/builds/download.php')
-rw-r--r-- | frontend/pages/builds/download.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/frontend/pages/builds/download.php b/frontend/pages/builds/download.php index f472046..ec957a1 100644 --- a/frontend/pages/builds/download.php +++ b/frontend/pages/builds/download.php @@ -13,7 +13,7 @@ function init_builds_download(&$S) { return '404'; } $build=new sql_build($r->fetch(PDO::FETCH_ASSOC)); - if ($build->visibility == 'private' && !owner_or_admin($build->owner)) { + if ($build->has_flag('p') && !owner_or_admin($build->owner)) { debug('builds_download', 'Permission denied'); return '404'; } |