Skip to content
This repository has been archived by the owner on Dec 4, 2018. It is now read-only.

Allowed content elements of fluidpages column not respected [ACL] #342

Open
cweiske opened this issue Mar 14, 2016 · 0 comments
Open

Allowed content elements of fluidpages column not respected [ACL] #342

cweiske opened this issue Mar 14, 2016 · 0 comments

Comments

@cweiske
Copy link

cweiske commented Mar 14, 2016

I've got a fluidpages page layout which limits the allowed content elements in a column:

<flux:grid.column colPos="0" name="Main" colspan="3" style="width: 75%">
    <flux:form.variable name="allowedContentTypes" value="fluidcontent_content"/>
    <flux:form.variable name="Fluidcontent"
     value="{allowedContentTypes: 'Vnd.Foo:BaseContainer.html'}"
     />
</flux:grid.column>

When adding a new content element to the column with the "+ Content" button above and below elements, the list of allowed elements in the new content element wizard is filtered as it should.

However, when using the "New" item from the popup menu you get when clicking the content element icon, or when simply editing an existing toplevel element on a page - then the "Fluid Content type" drop down is not filtered.

Steps to reproduce:

  1. Add new element to column on page which only allows some content elements
  2. In the content element edit form the dropdown "Fluid Content type" is unfiltered.

I guess this is because fluidcontent/Classes/Provider/ContentProvider.php processTableConfiguration only checks for be groups and fluid content element children, but not for column limits.

screenshot


related to #322.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant