Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Web CMS (TeamSite)
submit.cfg
rpjoseph
In submit.cfg I don't see any way to specify the branch. I have a workarea named zzz on branchA and a workarea named zzz on branchB. How can I set permission on submitted files differently between the two branches?
Find more posts tagged with
Comments
rpjoseph
Never mind. I see that I just specify the branch in workarea like 'default\main\branch\workarea'.
If anybody has an example of a submit.cfg file - I would really appreciate it. I do not have a sample file to start with. Also does anybody know a good site for regular expressions. I know them a bit but will need a refresher. Thank you.
SamplePack.zip
Adam Stoller
There's a sample of the submit.cfg in the TeamSite Administrator's Guide.
There an O'Reilly book on Mastering Regular Expressions (check your favorite book store website)
--fish
(Interwoven Senior Technical Consultant)
rpjoseph
Thank you for the guidance.
A 'real-world' example would be really helpful. The book example does not provide an example of setting permissions on particular directories, etc. It would be nice to see how somebody else has done this - especially for a reg exp novice like myself.
I found a nice tool to help build and test regular expressions. It is called Expresso and can be downloaded at
www.ultrapico.com
or codeproject.com.
Maybe just taking a look at my attempt below... and letting me know if it makes sense.
Explanation - Each group of users (site owners) have a workarea. Each workarea has a complete set of Intranet content that I want each user to be able to view. I only want members of the appropriate groups to edit content within each site. For instance - I want members of the NT Group - 'iwCNFitweb_DataCenter' to be able to read all content but only be able to write to content in the directory admin\datacenter and beyond.
Here is my submit.cfg file:
CASE-SENSITIVE = NO
RULES
{
default\main\CNF\Intranet\ITWEB\WebTeam
{
.*\\development\\webteam.* #Provide Domain\iwCNF_Administratorlg group with Full-Control to All Files and directories under the development\webteam directory in the WebTeam Workarea
{
owner=Domain\iwCNF_owner
group=Domain\iwCNF_Administratorlg
setaccess={everyone:Read, Domain\iwCNF_Administratorlg:ALL}
}
}
default\main\CNF\Intranet\ITWEB\DSG
{
.*\\Infrastructure\\GSS\\DSG.* #Provide Domain\iwCNFitweb_DSGlg group with Full-Control to All Files and All Directories under the Infrastructure\GSS\DSG directory in the DSG Workarea
{
owner=Domain\iwCNF_owner
group=Domain\iwCNFitweb_DSGlg
setaccess={everyone:Read, Domain\iwCNFitweb_DSGlg:ALL}
}
}
default\main\CNF\Intranet\ITWEB\DataCenter
{
.*\\admin\\DataCenter.*
{
owner=Domain\iwCNF_owner
group=Domain\iwCNFitweb_DataCenterlg
setaccess={everyone:Read, Domain\iwCNFitweb_DataCenterlg:ALL}
}
}
default\main\CNF\Intranet\ITWEB\DesktopServices
{
.*\\EnterpriseServices\\DesktopServices.*
{
owner=Domain\iwCNF_owner
group=Domain\iwCNFitweb_DesktopServiceslg
setaccess={everyone:Read, Domain\iwCNFitweb_DesktopServiceslg:ALL}
}
}
/$
{
setaccess= {everyone:read, "CNFQS074\\Teamsite Web preview:ALL"}
}
}
Adam Stoller
I believe you need to end all directory paths with '/' (or '\' in your case) - and you *might* need to use '\\' (but I think that's only if the path contains white-space and you surrounded it with double-quotes).
You also need to make sure to remember to run iwreset after you make changes to the submit.cfg file for them to take effect.
And then you can use the iwtestcfg CLT to verify whether it works or not.
Hope that helps.
--fish
(Interwoven Senior Technical Consultant)