CC-5701: Airtime File API
Beginnings of fil rest api index, get, post actions working without authentication
This commit is contained in:
parent
1715f2187d
commit
64c1dd2c1e
7 changed files with 169 additions and 0 deletions
|
@ -110,6 +110,13 @@ class Zend_Controller_Plugin_Acl extends Zend_Controller_Plugin_Abstract
|
|||
{
|
||||
$controller = strtolower($request->getControllerName());
|
||||
|
||||
//Ignore authentication for all access to the rest API. We do auth via API keys for this
|
||||
//and/or by OAuth.
|
||||
if (strtolower($request->getModuleName()) == "rest")
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
if (in_array($controller, array("api", "auth", "locale"))) {
|
||||
|
||||
$this->setRoleName("G");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue