? ? Pending

User tests: Successful: Unsuccessful:

avatar Bakual
Bakual
18 Apr 2017

Pull Request for Issue #14380 .

Summary of Changes

This adds a check to the fields model which only bypasses view level filtering in backend.

Currently, if you are logged in as SuperUser or with a user which has permissions to manage the fields the view level check is bypassed, but that only makes sense in backend, not in frontend.

Testing Instructions

  • Create a field in the context com_contact -> mail which is set to show only for "Guest" level.
  • Create another field with the same context but set it to "Public".
  • Login in with your SuperUser account and check the respective contact form.

Expected result

Only see the fields which match the viewlevel (eg don't see the Guest one)

Actual result

You see all fields

Documentation Changes Required

None

avatar Bakual Bakual - open - 18 Apr 2017
avatar Bakual Bakual - change - 18 Apr 2017
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 18 Apr 2017
Category Administration com_fields
avatar brianteeman brianteeman - test_item - 18 Apr 2017 - Tested successfully
avatar brianteeman
brianteeman - comment - 18 Apr 2017

I have tested this item successfully on 90b50cb


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/15365.

avatar sanderpotjer sanderpotjer - test_item - 19 Apr 2017 - Tested successfully
avatar sanderpotjer
sanderpotjer - comment - 19 Apr 2017

I have tested this item successfully on 90b50cb


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/15365.

avatar franz-wohlkoenig franz-wohlkoenig - change - 20 Apr 2017
Status Pending Ready to Commit
avatar franz-wohlkoenig
franz-wohlkoenig - comment - 20 Apr 2017

RTC after two successful tests.

avatar joomla-cms-bot joomla-cms-bot - edited - 25 Apr 2017
avatar franz-wohlkoenig franz-wohlkoenig - change - 25 Apr 2017
Title
In frontend always implement view levels for fields
[com_fields] In frontend always implement view levels for fields
avatar rdeutz rdeutz - change - 1 May 2017
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2017-05-01 19:48:15
Closed_By rdeutz
Labels Added: ? ?
avatar rdeutz rdeutz - close - 1 May 2017
avatar rdeutz rdeutz - merge - 1 May 2017

Add a Comment

Login with GitHub to post a comment