Question

I have a TYPO3 installation with DAM, where some folders/files are managed by git repository (ie. fileadmin/templates/*), therefore I'd like to disable access to them from DAM and/or File module even for full backend admin to avoid conflicts in files changed through the backend. Of course I can't change the folder's permissions as they contains also public assets.

What is the correct way, to hide or disable writes from backend?

Was it helpful?

Solution

Because of the general access problem with fileadmin/, i manage all my templates in typo3conf/. There i create a directory "templates" for example and manage my templates there.

In TYPO3 < 6.0 you have to set $TYPO3_CONF_VARS['FE']['addAllowedPaths'] = 'typo3conf/templates/'; to properly use your templates.

This also has the advantage that you basically only have to manage typo3conf/ in Git :)

OTHER TIPS

AFAIK, this exists only for files (fileDenyPatter).

You could implement an own storage with TYPO3 6+, which would be relatively easy.

But the fact that you are using DAM proves that you are still on 4.x. You will either need to find a hook or xClass the folder tree class.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top