Access/ownership of new pages in typo3

Typo3 has a very powerful workspace feature. You can use it to give different groups different access rights to a sitetree. This is useful when you have many users, groups and workspaces. One problem that can appear when you don't configure everything properly is that new pages, created by an admin for example, can't be edited by other users.

You can fixing this by forcing user- and group ownership of new pages and elements. First, find the root page of the subtree for which you want to set default owner and group. Then add something like in the example below to the page's TSCONFIG:

TCEMAIN.permissions {
	# ID of the backend user that will own new pages
	userid = 3
	# ID of the backend group that will own new pages
	groupid = 1	# This is optional, explicitly set permissions
	#user = show, editcontent, edit, delete, new
	#group = show, editcontent, edit, delete, new
}

5 comments

  1. avatar
    wrote this comment on

    Thank you for this tip.

  2. avatar
    wrote this comment on

    You're welcome!

  3. avatar
    wrote this comment on
    Thank you very much. This is exactly what i was searching for... Your code worked very well :)
  4. avatar
    wrote this comment on
    Are you familiar with Typo3 6+ and problems with Recursive delete option in User settings? When you check that check box and hit Save button, always reset (uncheck) that field.
  5. avatar
    wrote this comment on
    No, haven't deployed any v6+ yet.

Reply

Cancel reply
Markdown. Syntax highlighting with <code lang="php"><?php echo "Hello, world!"; ?></code> etc.
DjangoPythonBitcoinTuxDebianHTML5 badgeSaltStackUpset confused bugMoneyHackerUpset confused bugX.OrggitFirefoxWindowMakerBashIs it worth the time?i3 window managerWagtailContainerIrssiNginxSilenceUse a maskWorldInternet securityPianoFontGnuPGThunderbirdJenkinshome-assistant-logo