For a project, I am looking to setup protection table such that only maintainers can add contents to the root folder and everyone can read/write everything else below the root folder.
For example, given the following depot directory structure...
depot || proj1 || ---- src || ---- foo.c ---- bar.c || ---- include
I want only maintainers group to be able to add contents under //depot/proj1.
Likewise, I want everyone to be able to add contents under //depot/proj1/src, //depot/proj1/include etc.
Can this be achieved via the protection table or is pre-submit trigger the only way?