Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
PUBLIC CLOUD
PRIVATE CLOUD
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Web CMS (TeamSite)
submit.cfg - matching multiple branches
JeremyH
Is there a clean way to match multiple branches with submit.cfg?
Branches in the same region would have the same permission structure. So, in the example below, the intention is to match either the br or the mx branch. The section below seems to work in TS 6.5. Could there be any issues with this?
^/default/main/Web_Sites/(br|mx)/.*
{
^/templatedata/$ { perm=0775 gid=na uid=tsadmin }
^/templatedata/.*/data/$ {perm=0775 gid=ltam uid=tsadmin }
^/templatedata/.*/data/.* {perm=0775 gid=ltam }
^/$ { perm=0555 gid=tsadmgrp uid=tsadmin }
^.* { perm=0444 gid=tsadmgrp uid=tsadmin }
}
Find more posts tagged with
Comments
Adam Stoller
I believe submit.cfg is processed with at least a Regex(5) extended - if not Perl-RE equivalent processor - so the use of '(...|...)' should be fine.
--fish
Senior Consultant, Quotient Inc.
http://www.quotient-inc.com