|
<< Click to Display Table of Contents >> Navigation: »No topics above this level« Inherit Sub-Projects |
Inherit Sub-Projects
In DBWorks if you are assign a project you inherit implicitly all its sub-projects and the documents contained in these sub-projects. In Web Client this behaviour is not the default one, but can be activated with an option.
Before seeing how to activate this optional behaviour, let's first see the implications. The standard behaviour is that either you are assigned explicitly a project or you don't see the project and cannot download the documents contained either. This introduces a distinction with DBWorks justified by the fact that in a web application security is normally the number one concern. This behaviour can be changed to allow you to view sub-projects and download their documents, but it is important that you understand that this behaviour does not affect only the display of the Projects Tree, but affects also what documents are made available for download to the web Client users.
![]()
In a clean installation if you are assigned projects Project1 and Project1-a you would not see Project1-b and could not view or download the documents in Project1-b. When you activate the implicit inheritance of sub-projects, though, you can see also Project1-b and the contained documents also if the project was never assigned explicitly to you.
Requires DBWorks Stand Alone on the server, build 20070407 or newer on the Web Server.
In the file ...\Program Files\DBWORKS\WebViewer\WebViewerOptions.txt add the line
DBWORKS_LIKE_PROJECTS_TREE
You needn't restart the Web Server or the Web Client server components, but the change will apply only to new users logging in.
This option affects all the users.
The automatic selection of sub-projects in the user interface can be activated with an option server side.
In the file ...\Program Files\DBWORKS\WebViewer\WebViewerOptions.txt add the line
select_subprojects_automatically