How can I define the permissions for folders that Toolkit creates?

The creation process for folders that get generated by the Toolkit schema, can be customized in the core hook:

To modify the hook you would copy the hook from the .../install/core/hooks folder over to your .../config/core/hooks folder and then modify it there. Or if you’re on a distributed config then you could take a copy from the GitHub repository or your bundle cache.

For all other folders that get created by Toolkit, such as folders that are defined in templates but not in the schema, you can use the core hook:

1 Like