[FLOW3-general] ACL and redirection issue

Mario Rimann typo3-coding at rimann.org
Tue Oct 19 23:18:43 CEST 2010


Hi

I've put the following into the Policy.yaml of a Package:

resources:
  methods:
    F3_Mypackage_StandardAdminMethods:
'method(F3\Mypackage\Controller\StandardController->indexAction())'
roles:
  Admin: []
acls:
  Admin:
    methods:
      F3_Mypackage_StandardAdminMethods: GRANT


Now if I visit /mypackage/standard/index while being authenticated (via
/mypackage/login/index and /mypackage/login/authenticate), all is fine.
But if the visitor is not authenticated so far, it get's redirected to
/flow3/authenticate (which then redirects to /flow3/authenticate again
and again, ...)

Is there a way to set a redirection target in the Policy if the
requested page is not allowed to be seen?

Cheers,
Mario


More information about the FLOW3-general mailing list