RTC Success

User tests: Successful: Unsuccessful:

avatar andrepereiradasilva
andrepereiradasilva
7 Aug 2016

Pull Request for Issue joomla/joomla-cms#11466 (com_weblinks part).

Summary of Changes

The ACL core.edit.own is not working in com_weblinks.
This PR makes it work.

Testing Instructions

  1. Use latest staging
  2. Besides the Super User, create a user "test" added to "Administrator" group
  3. Go to com_weblinks Options, Permissions tab and diable "Edit" for "Administrator" group
  4. Now create a new weblink with the "test" user (use another browser or a private window)
  5. Try to edit that item. You can't edit our own. Bug
  6. Now do the same test but with a weblink category Permission. You can't edit our own. Bug
  7. Apply patch, repeat step 5. and 6. and now you can edit our own items.
  8. Code review

Also use the two users to do a general test with the com_weblinks edit permissions to confirm all is fine.

Documentation Changes Required

None.

Notes

This problem was discovered in GsoC 2016 Multilingual project.

This is very similiar with joomla/joomla-cms#11502 (com_newsfeeds) and joomla/joomla-cms#11503 (com_contact).

avatar andrepereiradasilva andrepereiradasilva - open - 7 Aug 2016
avatar andrepereiradasilva
andrepereiradasilva - comment - 7 Aug 2016

i guess the test errors have nothing to do with this PR ...

avatar yvesh
yvesh - comment - 7 Aug 2016

@andrepereiradasilva i get an SQL syntax error when i apply your patch. System tests also fail because of that

screenshot 2016-08-07 09 43 14

avatar yvesh
yvesh - comment - 7 Aug 2016

A comma is missing after a.created_by

avatar alikon
alikon - comment - 7 Aug 2016

i've tested successfully

avatar infograf768
infograf768 - comment - 7 Aug 2016

OK here

avatar yvesh
yvesh - comment - 8 Aug 2016

@alikon @infograf768 Thanks for testing, please use the issue tracker next time like on core :-)

avatar yvesh yvesh - test_item - 8 Aug 2016 - Tested successfully
avatar yvesh
yvesh - comment - 8 Aug 2016

I have tested this item successfully on cfd842f


This comment was created with the J!Tracker Application at issues.joomla.org/weblinks/255.

avatar infograf768
infograf768 - comment - 8 Aug 2016

Didn't even know we have a specific issue tracker for such project.
Found it: https://issues.joomla.org/tracker/weblinks

avatar andrepereiradasilva
andrepereiradasilva - comment - 14 Aug 2016

will this be merged?

And BTW when there will be a new weblinks release?

avatar yvesh
yvesh - comment - 14 Aug 2016

Add a Comment

Login with GitHub to post a comment