Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-22337

Hidden state on Locations is not taken into account in ViewController

    XMLWordPrintable

Details

    Description

      Ref this post on share.ez.no.

      When hiding a location in admin interface, visibility is not reflected on the frontend in the built-in ViewController. Hence, accessing directly to the location either with its system URI or URLAlias will still display the hidden content.

      It should throw a NotFoundException.

      Important note

      API wise, Visibility flag is not permission based and is not meant to restrict access. It's more a filter.
      To restrict access to a content, you must use sections and/or object states.

      Attachments

        Activity

          People

            Unassigned Unassigned
            jerome.vieilledent-obsolete@ez.no Jérôme Vieilledent (Inactive)
            Votes:
            2 Vote for this issue
            Watchers:
            8 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 0 minutes
                0m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 day, 2 hours
                1d 2h