? Success

User tests: Successful: Unsuccessful:

avatar iliepandia
iliepandia
24 Jul 2014

As discussed on the issue tracker:
http://joomlacode.org/gf/project/joomla/tracker/?action=TrackerItemEdit&tracker_item_id=33917&start=0

When a user attempts to access a URL they are not authorized to it is not sufficient to just show and error. Execution must be terminated as well. The fix is to throw an exception in a similar fashion to Joomla!2.x

avatar iliepandia iliepandia - open - 24 Jul 2014
avatar Bakual
Bakual - comment - 24 Jul 2014

I don't think the enqueueMessage is still needed if you throw an exception. The Exception message should be shown itself already, or not?

avatar iliepandia
iliepandia - comment - 24 Jul 2014

I am not 100% sure that the enqueued message is not logged somewhere so I've kept it. Maybe the error page renders it (depending on the template?).

avatar brianteeman
brianteeman - comment - 26 Jul 2014

Closing in favour of #3984

avatar brianteeman brianteeman - change - 26 Jul 2014
Status New Closed
Closed_Date 0000-00-00 00:00:00 2014-07-26 14:34:34
avatar brianteeman brianteeman - close - 26 Jul 2014

Add a Comment

Login with GitHub to post a comment