Uploaded image for project: '[Read Only] - Hippo Site Toolkit 2'
  1. [Read Only] - Hippo Site Toolkit 2
  2. HSTTWO-4467

ChannelServiceImpl#canUserModifyChannels is unsuited for hst-platform and needs to be done differently

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • None
    • 13.0.0
    • None
    • None
    • 1.5
    • Platform 191 - Messy HST 1, Platform 192 - Messy HST 2

    Description

      At this moment, the channel mngr has the following method

      org.onehippo.cms7.channelmanager.channels.ChannelStore#canModifyChannels
      

      which is used in the ChannelOverview to find out (a boolean) whether or not the user is allowed to add a channel or not.

      This however does not match the new hst platform setup which supports multiple hst configuration trees. Instead, it is per hst config possible that an add channel is allowed or not.

      Hence, this logic needs to change including the hst api org.hippoecm.hst.platform.api.ChannelService#canUserModifyChannels

      Per hst config, the blueprints should be checked, and in the 'add channel' only the blueprints should be shown for which the webmaster is allowed to add them

      Attachments

        Activity

          People

            Unassigned Unassigned
            aschrijvers Ard Schrijvers
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: