summaryrefslogtreecommitdiff
path: root/core/models
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2008-11-29 22:47:15 +0000
committerBharat Mediratta <bharat@menalto.com>2008-11-29 22:47:15 +0000
commit4271f7702a2754d8470949209f2db82990eb2d1a (patch)
tree6c7bc6933f58a0462373f550d219ab07308d51f4 /core/models
parent6c2869f8227944e56b6bb73da0d72b4c52f87da9 (diff)
Add access model (not fully baked yet).
Update scaffolding to allow addition of just albums (helpful for testing permissions)
Diffstat (limited to 'core/models')
-rw-r--r--core/models/access.php21
1 files changed, 21 insertions, 0 deletions
diff --git a/core/models/access.php b/core/models/access.php
new file mode 100644
index 00000000..f85e152d
--- /dev/null
+++ b/core/models/access.php
@@ -0,0 +1,21 @@
+<?php defined("SYSPATH") or die("No direct script access.");
+/**
+ * Gallery - a web based photo album viewer and editor
+ * Copyright (C) 2000-2008 Bharat Mediratta
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or (at
+ * your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful, but
+ * WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA.
+ */
+class Access_Model extends ORM {
+}