[TYPO3-core] RFC: #15995: Bug: doktype limitation is not applied to alternative page languages (pages_language_overlay)
Susanne Moog
typo3 at susannemoog.de
Mon Nov 1 19:38:34 CET 2010
On 25.10.2010 17:45, Andreas Kiessling wrote:
> Hi,
>
> This is an SVN patch request.
>
> Type: Bugfix
>
> BT reference: http://bugs.typo3.org/view.php?id=15995
>
> Branches: 4_3, 4_4, trunk
>
> Since 4.3 it is possible to switch the doktype for alternative page
> languages. There are several places, where a check for doktype
> limitations is implemented, but only if the table is 'pages'.
>
> Solution: these checks need to be done also for pages_language_overlay
>
> Note: patch is for trunk (4.5) but it should be considered to fix this
> also in 4.4 and even 4.3
+1 by reading and testing on trunk
How to test:
- Create a user with doctype restriction (for example only allowed to
edit standard and shortcut pages) and with the right to add an
alternative page language.
- Switch to that user and add an alternative page language.
- Look at the available page types - not restricted!
- Apply the patch.
- Look again.
I changed the patch a bit, using strict comparisons and removing a hunk
that probably belongs to the flexform sections patch.
Thanks for your work,
Susanne
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 15995_v3.patch
Type: text/x-diff
Size: 1881 bytes
Desc: not available
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20101101/35463902/attachment.patch>
More information about the TYPO3-team-core
mailing list