Difference between revisions of "Administration"

From reBiND Documentation
Jump to: navigation, search
(User management)
(User management)
Line 45: Line 45:
 
[[File:Create_exist_user.PNG|border]]
 
[[File:Create_exist_user.PNG|border]]
  
In the above example the 'contributing scientists' is be allocated to the group 'Users', so the [[EXist_and_xquery /db/protected/ directory]] within the eXist database should be made accessible to the group 'Users'.
+
In the above example the 'contributing scientist' is be allocated to the group 'users', so the [[EXist_and_xquery|/db/protected/ directory]] within the eXist database should be made accessible to the group 'users'.
  
 
** Documentation of [[Correction Modules]]
 
** Documentation of [[Correction Modules]]

Revision as of 15:47, 29 October 2014

Administration

An XML document can be uploaded to the eXist database even if the document is not valid according to the schema used. However it is mandatory that the document is well formed, otherwise errors will occur when trying to store the document.

But before the documents can be stored, a closer look at the collection structure within eXist is needed. The reBiND Framework depends on two collections for managing the different data projects. One of the collections is for the unpublished data projects, which are still being corrected, reviewed or otherwise prepared for publication. The other collection is for the published projects, which can be publicly searched and accessed. Within this document they will be referred to as unpublished and published. Both of these collections are located in the root collection of eXist. Within these collections are the collection for the individual data projects. Having the two collections for unpublished and published data projects makes the security configuration also quite easy, since the security settings for these two collections are automatically inherited by data projects within these.

Instructions on how to create projects via the reBiND user interface have been desctibed in the [Data_upload_to_rebind_framework data archiving section].

The collection structure of eXist, showing the unpublished and published project collections is shown below:

/db/
 ├─ (eXist default)
 ├─ unpublished/
 │   ├─ (data-project-name 1)/
 │   │   ├─ data.xml
 │   │   ├─ metadata.xml
 │   │   ├─ original-data.xls
 │   │   └─ images/
 │   │       ├─ image_001.jpg
 │   │       ├─ image_002.jpg
 │   │       └─ ...
 │   └─ (data-project-name 2)/
 │       └─ ...
 └─ published/
     └─ (data-project-name 3)/
         ├─ data.xml
         ├─ metadata.xml
         ├─ original-data.xls
         ├─ images/
         │   ├─ image_001.jpg
         │   ├─ image_002.jpg
         │   └─ ...
         └─ multimedia/
             ├─ movie1.mov
             ├─ movie2.avi
             └─ ...

The majority of the database administration can be done through the eXist Java webstart client. For example, the client can be used to add new user accounts, modify permissions to different database collections and delete/edit/query the data.

User management

Users can be created via the eXist Java admin client. For example creating a new user for the contributing scientist is shown in the screenshot below.

Create exist user.PNG

In the above example the 'contributing scientist' is be allocated to the group 'users', so the /db/protected/ directory within the eXist database should be made accessible to the group 'users'.