I'm on TYPO3 12.4 and trying to hide the "create new content" button or the hole column "border" in TYPO3-Backend for a specific user-group (editors). It sounds like a simple task and also chatgpt gives you a lot of advice but that never worked. (Sideinfo: I'm using bk2k/bootstrap-package)
Anybody did this so far and has a working solution ?
I achieved to hide a column like this:
mod.web_layout.BackendLayouts.2_columns.config.backend_layout.rows.1.columns.1 >
but I could not add that part to anly a specific group or persons TSconfig (userTSconfig). I also tried a condition in PageTSconfig - still no luck.
Many thanks in advance !
solved this by the following PageTSConfig:
[!backend.user.isAdmin]
mod.SHARED.colPos_list = 0,2
mod.web_layout.hideRestrictedCols = 1
[end]
Explanation: if user is not an admin only columns 0 and 2 are allowed to him. "hideRestrictedCols" finally removes a "restriction note" in the column by not showing this column.