diff options
author | morgamic@mozilla.com <morgamic@mozilla.com@4eb1ac78-321c-0410-a911-ec516a8615a5> | 2007-02-11 17:59:40 (GMT) |
---|---|---|
committer | morgamic@mozilla.com <morgamic@mozilla.com@4eb1ac78-321c-0410-a911-ec516a8615a5> | 2007-02-11 17:59:40 (GMT) |
commit | 66c564817e40c28aa428e17c1ece9e9fe9610f03 (patch) | |
tree | 8761762c090b85b9b36ac89bad69abfa8c1c199f /site/app/app_controller.php | |
parent | 594f66fd4329be4f48558349cac350a8355f6dbe (diff) |
Added commented-out lines for ACL, if people want to play with it. Leaving it commented out until we have the default permissions based on http://wiki.mozilla.org/Update:Remora_Permissions
git-svn-id: http://svn.mozilla.org/addons/trunk@1933 4eb1ac78-321c-0410-a911-ec516a8615a5
Diffstat (limited to 'site/app/app_controller.php')
-rw-r--r-- | site/app/app_controller.php | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/site/app/app_controller.php b/site/app/app_controller.php index 2661ab1..bafb128 100644 --- a/site/app/app_controller.php +++ b/site/app/app_controller.php @@ -38,13 +38,23 @@ class AppController extends Controller { +// var $components = array('Amo','SimpleAuth','SimpleAcl'); var $components = array('Amo'); + var $uses = array('User','Group'); var $view = 'Addons'; + // allow named arguments, default off var $namedArgs = false; var $argSeparator = ":"; var $beforeFilter = array('getNamedArgs'); +/** + function startup() { + $this->SimpleAuth->startup($this); + $this->SimpleAcl->startup($this); + } +*/ + /** * Enables sandbox access when requested, via the status named argument. * add "_checkSandbox" to beforeFilter to enable sandbox context in a controller |