summaryrefslogtreecommitdiff
path: root/modules/tag
diff options
context:
space:
mode:
authorAndy Staudacher <andy.st@gmail.com>2009-09-15 21:50:48 -0700
committerAndy Staudacher <andy.st@gmail.com>2009-09-15 21:50:48 -0700
commite168e0dfae28bb56289b4debae8825c104ee69f9 (patch)
tree6a77e0aed4177ec9521ffe7895f98018bd03cb49 /modules/tag
parent61bbe1d78c409dbc2d4af771146878f8f720959a (diff)
CSRF / auth fixes, golden data file checkpoint
Diffstat (limited to 'modules/tag')
-rw-r--r--modules/tag/controllers/tags.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/tag/controllers/tags.php b/modules/tag/controllers/tags.php
index c993e374..f4f98090 100644
--- a/modules/tag/controllers/tags.php
+++ b/modules/tag/controllers/tags.php
@@ -43,6 +43,8 @@ class Tags_Controller extends REST_Controller {
}
public function _index() {
+ // Far from perfection, but at least require view permission for the root album
+ access::required("view", 1);
print tag::cloud(30);
}