Alex Tech Adventures The webs best tutorials!

Welcome, Guest
Please Login or Register.    Lost Password?

ACL dynamic assertions
(1 viewing) (1) Guest
Go to bottomPage: 1
TOPIC: ACL dynamic assertions
#676
ACL dynamic assertions 1 Year, 8 Months ago Karma: 16
** This thread discusses the content article: ACL dynamic assertions **

alexanderrv
Administrator
Posts: 279
graph
User Offline Click here to see the profile of this user
Gender: Male tmthv2 alexchatonly@hotmail.com Location: Freeport, Bahamas Birthdate: 1989-04-14
The administrator has disabled public write access.
 
#681
Re:ACL dynamic assertions 1 Year, 7 Months ago Karma: 1
Hi,

since I have changed my bootstrap file and added following code:

Code:


$acl = new Application_Model_LibraryAcl;
$auth = Zend_Auth::getInstance();

$fc = Zend_Controller_Front::getInstance();
$fc->registerPlugin(new Application_Plugin_AccessCheck($acl, $auth));



according to your tutorial on youtube, no error messages for the login action are displayed.

when I submit an empty form it redirects me to authentication/login, which appears to be a blank empty page. the same problem occurs when I provide wrong login data.

when I delete the upper code and in that way remove acl and go to authentication/login errormessage is displayed.

please help
AD
Junior Boarder
Posts: 24
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#682
Re:ACL dynamic assertions 1 Year, 7 Months ago Karma: 1
maybe solved it but i am not sure. In Application_Form_LoginForm I changed

$this->setAction(Zend_Controller_Front::getInstance()->getBaseUrl().'/authentication/login'); to

$this->setAction(Zend_Controller_Front::getInstance()->getBaseUrl().'/index/index');

errormessage is displayed now
AD
Junior Boarder
Posts: 24
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#700
ACL dynamic assertions 1 Year, 7 Months ago Karma: 0
can u upload full working example code of this tutorial ?
with mysql dump
Trono
Fresh Boarder
Posts: 0
graphgraph
User Offline Click here to see the profile of this user
Last Edit: 2010/06/28 09:34 By Trono.
The administrator has disabled public write access.
 
Go to topPage: 1
Moderators: alexanderrv
You are here: Home Forum

Statistics

Members : 1388
Content : 42
Web Links : 1
Content View Hits : 190537

Poll

Interested in TinyBrowser and TinyMce plugin for ZF?
 

Who's Online

We have 25 guests online