Home
TeamSite
"Pushing" permissions in folder structure
vahu
Hi,
Is it not possible to set some permission, say on the root folder and have the permissions pushed through the hierchy of the folder structure ?
BR
Saya
Find more posts tagged with
Comments
Migrateduser
Not that I know of...
I had to write a script to do that.
Here is the suroutine doing the work (sorry, it's in VBscript, and it's probably worth what you're paying for it...)
'------------------------------------------------------------------------------
'Sub CopyPermissions (objSourceContainer, objDestinationContainer)
'Copies the Permissions from objSourceContainer to objDestinationContainer
'then if bolRecursivecalls itself for every child container of objDestinationContainer
'if bolAdd is true, permissions of objSourceContainer are added to those of objDestinationContainer
'ONLY MEDIABIN ADMINISTRATORS CAN EXECUTE THIS SUB
'------------------------------------------------------------------------------
Sub CopyPermissions (objSourceContainer, objDestinationContainer, bolRecursive, bolAdd)
Dim collSubContainers
Dim objSubContainer
Dim collPermissions
Dim objPermission
if bolAdd then
'About to add permissions for objDestinationContainer
set collPermissions = objSourceContainer.Permissions
for each objPermission in collPermissions
objDestinationContainer.AddPermission(objPermission)
next
'Done
else
'About to copy permissions for objDestinationContainer
objDestinationContainer.CopyPermissions(objSourceContainer)
'Done
end if
if bolRecursive then
'About to get container's children
set collSubContainers = objDestinationContainer.ContainerChildren(false)
for each objSubContainer in collSubContainers
Call CopyPermissions (objSourceContainer, objSubContainer, bolRecursive, bolAdd)
next
end if
End Sub
Folco Banfi
lyman
There are a couple of techniques. First, in the Windows Native Client if you right click on the link with the name of your server (i.e., the node immediately above Media Database), you can bring up a permissions dialog that allows you to edit permissions on the whole tree. See the client documentation for details.
Also, there is a standalone app for migrating security available if you contact support.
Cheers,
Lyman Hurd
MediaBin Server Team
MediaBin Server Team
Interwoven, Inc.
vahu
Hi Lyman,
Thanks for your help. For now the window client stuff will do
Regards
Saya
ehepola
We are using a purchased "Permissions Manager" Release 4.5.1 PM1 to do exactly this - we found the Windows client didn't matriculate the permissions thouroughly.
Migrateduser
Just wanted to clarify the Permissions Manager program is free. It is an open source VB6 application that is one of the MediaBin sample applications. Customer support can supply a version complete with an installation package for those that do not want to build the application themselves. This application will enable permissions to be applied to all assets in subfolders of a parent folder. Permissions can also be augmented, replaced, or deleted. Unlike the behavior of the Native MediaBin client, permissions are not completely loaded at startup. Therefore, the application starts up noticably faster for those installations that have large numbers of folders.