Success

User tests: Successful: Unsuccessful:

avatar andrepereiradasilva
andrepereiradasilva
19 Aug 2016

Summary of Changes

This PR does for weblinks what was already done and merged for the core.
Replace existing 404 JError for a 403 php exception (JAccessExceptionNotallowed) when the user does not have access to "Access Administration Interface" (core.manage).

See also joomla/joomla-cms#11608

Testing Instructions

Code review.

avatar andrepereiradasilva andrepereiradasilva - open - 19 Aug 2016
avatar zero-24
zero-24 - comment - 19 Aug 2016

?

avatar mbabker
mbabker - comment - 19 Aug 2016

There should be a manifest script added to the package blocking installs on
older Joomla versions if this is accepted. Otherwise you'll get class not
found errors.

On Friday, August 19, 2016, andrepereiradasilva notifications@github.com
wrote:

Summary of Changes

This PR does for weblinks what was already done and merged for the core.
Replace existing 404 JError for a 403 php exception
(JAccessExceptionNotallowed) when the user does not have access to "Access
Administration Interface" (core.manage).

See also joomla/joomla-cms#11608
joomla/joomla-cms#11608
Testing Instructions

Code review.

You can view, comment on, or merge this pull request online at:

#262
Commit Summary

  • Add an exception when not allowed

File Changes

Patch Links:


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
#262, or mute the
thread
https://github.com/notifications/unsubscribe-auth/AAWfodqt7FrAyg_euRPdcnlHf9RFpHiwks5qhjWQgaJpZM4Jo65Y
.

avatar andrepereiradasilva
andrepereiradasilva - comment - 19 Aug 2016

There should be a manifest script added to the package blocking installs on older Joomla versions if this is accepted. Otherwise you'll get class not found errors.

i know and has about to write that here.
Yes, must be J! 3.6.3+ to get the correct message in the error or will get an error also but with an incorrect message JAccessExceptionNotallowed not found or something.

avatar zero-24
zero-24 - comment - 23 Sep 2016

Can we move this forward? As we have the same exeption JAccessExceptionNotallowed in the core we can go with it?

avatar andrepereiradasilva
andrepereiradasilva - comment - 2 Oct 2016

this can only be merged if the next weblinks version is only 3.6.3+

avatar yvesh
yvesh - comment - 2 Oct 2016

@andrepereiradasilva imo weblinks should only support latest stable release. But it's probably a PLT decision needed on that..

avatar chrisdavenport
chrisdavenport - comment - 20 Oct 2016

@andrepereiradasilva Can you update this PR to block installs prior to 3.6.3? I can't think of any good reason to support earlier versions. Thanks.

avatar andrepereiradasilva
andrepereiradasilva - comment - 20 Nov 2016

i think that should not be related to this PR, but the release itself

avatar yvesh yvesh - change - 13 Feb 2017
Status New Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2017-02-13 16:05:47
Closed_By yvesh
avatar yvesh yvesh - close - 13 Feb 2017
avatar yvesh yvesh - merge - 13 Feb 2017
avatar yvesh yvesh - reference | 5178381 - 13 Feb 17
avatar yvesh yvesh - merge - 13 Feb 2017
avatar yvesh yvesh - close - 13 Feb 2017
avatar zero-24 zero-24 - change - 13 Feb 2017
Milestone Added: 3.6.0
avatar yvesh
yvesh - comment - 13 Feb 2017

Thank you @andrepereiradasilva, we will add a check that we only support latest 3.6 version.

Add a Comment

Login with GitHub to post a comment