Select the search type
  • Site
  • Web
Search
You are here:  Support/Forums
Support

Bring2mind Forums

Migrating From Other Filesystem
Last Post 09/04/2008 10:16 AM by Peter Donker. 3 Replies.
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages
pmarkiewicz
New Member
New Member
Posts:47


--
09/03/2008 4:41 PM

I currently have a set of files stored in a system with associated security rights.  If I were to migrate those files to document exchange 4, what are the necessary tables/columns that would need to be synchronized with my existing set of files?  I.e. it would be relatively simple for me to copy these files using the WebDav mechanism, but I believe the permissions would be set to that of the user who performed that copy.  I would appreciate any suggestions.  Thanks.

Rob Ralston
Basic Member
Basic Member
Posts:164


--
09/04/2008 12:57 AM

If I understand you correctly,  if you use WebDav to copy the files to DMX folders, the permissions on those files are going to be the DMX security role permissions you set on the DMX folders, not NTFS file permissions from the source.

Of course, there are NTFS permsions applied to the files wherever they are stored, but assuming DMX is working properly, it is DMX that controls access to the files based on the security roles of the DNN user logged in.

Hope that helps.

Rob Ralston

pmarkiewicz
New Member
New Member
Posts:47


--
09/04/2008 4:57 AM
Let's say the original permissions for a folder are "personA, read+write" and "personB, read-only". If I am logged in as personA, I understand that copying this folder into dmx will result in a folder with permissions that are likely "personA, read+write", but dmx has no way of knowing "personB's" permission. What table in the database would I have to change to get personB to have permission to this new folder? In the case of 1 folder, I can obviously use the interface to change the permissions however I would like. But if I have 300 folders, I am wondering how to automate creating new folders and then syncing up the permissions.
Peter Donker
Veteran Member
Veteran Member
Posts:4536


--
09/04/2008 10:16 AM
Hi Patrick,

From your words you're trying to set up a synchronization through code. I'll try and guide you through the data model for this. There is a table DMX_Permissions that holds the permission set for the portal. You probably do not need to change anything here. It holds the VIEW, EDIT, ADD, APPROVE permissions. What you need from that is the Permission ID. You need that in the DMX_EntryPermissions table where the permissions are being kept. There you bind the entry (i.e. the document) to the permission and the user or role.

Peter
You are not authorized to post a reply.