[BUGFIX] Do not allow users to edit doktypes without permissions 15/53715/3
authorMarkus Hoelzle <typo3@markus-hoelzle.de>
Wed, 22 Feb 2017 09:27:49 +0000 (10:27 +0100)
committerSusanne Moog <susanne.moog@typo3.org>
Wed, 20 Sep 2017 16:31:16 +0000 (18:31 +0200)
commit8a87c8074cda64741afe138606d3afeb5acd818a
treef692e1d6e41c9315b4594ae23080132496b32f5d
parenta08373c9af8ff5d600da5527cb27c5754dd9816c
[BUGFIX] Do not allow users to edit doktypes without permissions

Disallow backend users to edit pages which doktypes are not allowed
via backend usergroup permissions.

Resolves: #79954
Releases: master, 8.7, 7.6
Change-Id: I527602e71c62bc8e33b0886a5758c7c8040b4720
Reviewed-on: https://review.typo3.org/53715
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Jan Stockfisch <jan.stockfisch@googlemail.com>
Tested-by: Jan Stockfisch <jan.stockfisch@googlemail.com>
Reviewed-by: Susanne Moog <susanne.moog@typo3.org>
Tested-by: Susanne Moog <susanne.moog@typo3.org>
typo3/sysext/backend/Classes/Form/FormDataProvider/DatabaseUserPermissionCheck.php
typo3/sysext/backend/Tests/Unit/Form/FormDataProvider/DatabaseUserPermissionCheckTest.php