Show pageOld revisionsBacklinksFold/unfold allBack to top This page is read only. You can view the source, but not change it. Ask your administrator if you think this is wrong. {{indexmenu_n>4}} ====== Team Drives ====== {{ :rdms:solution:rdms_locations_concept_team.png?direct&800 |}} ===== General Concepts of the RDMS Team Drives ===== The following points summarise some of the basics of Team Drives in the RDMS: * Within the different storage areas of the RDMS, Team Drives fulfil the role of a **shared storage space for research groups**. * They can be used to store a group's research data in the mid- and long-term. * The RDMS Team Drive can be seen as the **RDMS equivalent of the Y: Drive**. * Within the RDMS, Team Drives are always located at ''/<zone>/home/<Team_Name>''. * The **default quotas** on a Team Drive are 20 TB for size and 1 million for the number of files. * The data in an RDMS Team Drive can be shared with other group members, but also with other RDMS users. * [[rdms:solution:policies|Automated Policies]] can be requested by the owners of a Team Drive. * The initial setup of a Team Drive has to be requested. * The management of Team Drives (new users, permissions management) is in the hands of the research groups themselves. In the following sections, it will be described how an RDMS Team Drive is initially requested and set up. Furthermore, the management of a Team Drive and working with a Team Drive will be explained using some examples. For fair use practices, please refer to our [[rdms:rdmsproject:policy|User Policies]]. ===== Initial Setup ===== The initial setup of a Team Drive has to be requested via [[rdms-support@rug.nl|rdms-support@rug.nl]]. After the Team Drive is created, the management and maintenance of an RDMS Team Drive are in the hands of the individual research groups or Team Drive owners. For the setup of a Team Drive, the following additional information is needed: - **Name of the Team Drive:** The requester decides on a name that the Team Drive should have. The name will also define the location within the RDMS. The new drive will be at ''/<zone>/home/<Team_Name>''. - **Owner Information**: Every RDMS Team Drive needs to have at least one permanent staff member assigned as owner. If the requester fits this description, they can be the only owner. If this is not the case, a second owner needs to be named. Please make sure that all owners have at least logged in once to the RDMS prior to requesting a Team Drive, so that their account is listed as active. You can do so from the [[https://research.web.rug.nl/rdmswebapp/|RDMS web interface]]. - **Further Information:** You can list users or groups here that you would like added to the Team Drive. Please also specify what permission level the users or groups need to be granted. To see what permissions are available, please refer to [[rdms:data:permissions|Permissions and Inheritance]]. <WRAP round important> Due to system configurations, the minimum permission that should be granted to Team Drive users in the main folder of the Team Drive is ''modify_metadata''. If a user wants to upload data into the Team Drive, they need to have permission to modify the metadata entry displaying the number of objects and their size in the Team Drive. If they have lower permissions, the upload operation will fail. </WRAP> Once a Team Drive is created, all the owners listed in the request are added to the Team Drive group. The membership in the group gives you ownership of the Team Drive and also identifies you as the person responsible for making decisions about the Team Drive. If you need to **add a new owner to the group** at a later stage, please contact [[rdms-support@rug.nl|rdms-support@rug.nl]]. Please do not change the permissions of this group. Owners added to the Team Drive by giving their account ''own'' permission can act as owners in the Team Drive, but will have no decision power regarding that Team Drive. ===== Working with Team Drives ===== For this example, we assume that a new Team Drive with the name "Example_Group1" was requested. Accordingly, the location of the new Team Drive is at ''/<zone>/home/Example_Group1'', the top-level of our RDMS Team Drive. As there is a difference in the usage of Team Drives by the owners of the Team Drives and by regular RDMS users, the following section will be split according to this distinction: * The section for Team Drive owners will focus on managing the RDMS Drive (permissions, sharing options, etc.) with the RDMS web interface. * The section for regular RDMS users will mostly focus on accessing the Team Drive to transfer data in and out of this area, as well as collaboration. ==== Team Drive Owners ==== The section below describes various activities that can be performed by a Team Drive owner, such as adding users or changing their permissions. Please note that a Team Drive owner is not able to change the group membership of other group members. If you need to add a new responsible person to the Team Drive via the Team Drive group, please contact [[rdms-support@rug.nl|rdms-support@rug.nl]]. === Adding a New User to a Team Drive === As a Team Drive owner, you can add new RDMS users and manage the user permissions within the Team Drive. To do this, follow the steps below: 1. Go to your Team Drive using the "Team drives" drop-down menu in the "Data Browser", then click the "i" icon in the top right corner of the dashboard. \\ {{ :rdms:solution:td_adduser_1.png?direct&800 |}} \\ 2. In the new side window, click on the vertical three dots. Next, click on "Add User". \\ {{ :rdms:solution:td_adduser_2.png?direct&800 |}} \\ 3. A new section will open on the left. Select the user you want to add, their permission, and if you want to apply this setting only to the current folder or to all folders below it as well. Click on the blue "Set permission" button when you are done.\\ {{ :rdms:solution:td_adduser_3.png?direct&800 |}} \\ 4. If the operation was successful, then the new user and their permission will be shown as in the screenshot below.\\ {{ :rdms:solution:td_adduser_4.png?direct&800 |}} \\ === Changing the Permissions of an Existing User === To change existing permissions, you can follow the first step as described above, as if you wanted to add a new user. Instead of clicking on the three vertical dots, you can now click on the pencil icon as shown in the screenshot. {{ :rdms:solution:td_change_perm_1.png?direct&800 |}}\\ The next window that will open allows you to select the user you want to modify, the new permission itself, and if you want the change to be applied only in the selected folder or recursively to any subfolder contained below it. {{ :rdms:solution:td_change_perm_2.png?direct&800 |}}\\ If the operation was successful, then the new user and their permission will be shown as in the screenshot below. {{ :rdms:solution:td_change_perm_3.png?direct&800 |}}\\ **Note**: You can add a new owner of the Team Drive yourself, by changing existing permissions or adding a new user with ''own'' permission. As described above, this user can now act as a Team Drive Owner and help you manage the Team Drive. However, if you wish for this new user to also have decision power over the Team Drive, you need to have them added to the Team Drive group. You cannot do this operation yourself, but you need to contact the RDMS support to do so. === Managing Permissions on a Folder Level === The steps to assign permissions that were described above always assign permissions on the top level of the Team Drive, and all of its sub-folders and files if the specific checkbox was selected. For a more granular permission assignment, it is possible to adjust the [[rdms:data:permissions|permission levels]] differently for different files/folders that are contained in the Team Drive. For this, the respective file/folder has to be selected from the data tab. Subsequently, pressing the ''i'' button while the file/folder is selected will open a new menu which also contains a 'Members' tab which lists all the currently set permissions for that file/folder. {{ :rdms:solution:td_subfolder_add_user_1.png?direct&800 |}}\\ **Note:**\\ While there are several use cases and advantages to a granular permission management of data in a Team Drive, please take into account that this can lead to a loss of overview about which permissions are currently set on which files/folders in the Team Drive. Also, please take into account that a permission change at a higher level will overwrite the different individual permissions of the same user/group if 'Including sub files and folder' is selected during permission assignments. If you want to have a Team Drive that is set up with granular permissions for different users/groups, it is recommended to get in contact with the RDMS support if you are unsure how this is realized in the best way. === Using Permission Inheritance === It is furthermore possible to enable/disable [[rdms:data:permissions|permission inheritance]] for the whole Team Drive or its sub-folders. If a Team Drive is created, the standard setting will create it with permission inheritance 'false' (inheritance disabled), which means that a newly created sub-folder or file within the Team Drive's main folder will not inherit the permissions that were assigned on the main folder. {{ :rdms:solution:td_inheritance_1.png?direct&800 |}}\\ The owner of a Team Drive can enable permission inheritance on the whole drive if that is desired. To do this, you have to navigate to the management tab of the Team Drive and then first select the ''i'' button to reveal the information window. From there, you can access a context menu that allows you to select 'Set permission inheritance'. {{ :rdms:solution:td_inheritance_2.png?direct&800 |}}\\ {{ :rdms:solution:td_inheritance_3.png?direct&800 |}}\\ Please read the section about [[rdms:data:permissions|permissions]], which also contains a more detailed explanation about permission inheritance in general. === Managing Team Drives via iCommands === For those RDMS users who do not use the web interface to work in the system, but who rather work via the command-line interface (CLI) using ''iCommands'', it is also possible to do these management tasks from the CLI. Please refer to the [[rdms:access:linux:icommands|icommands]] wiki, which provides some examples of specific commands that can be used for management tasks. Also refer to the [[https://docs.irods.org/4.3.0/|official iRODS documentation]], which also has a summary of the available commands. A selection of the most common commands for CLI-based Team Drive management: * ''ils -A'': Shows the files/folders, including the currently set access permissions. * ''ichmod'': Allows you to modify permissions for files/folders. ==== Regular Team Drive Users ==== For regular RDMS users, the above-described drive management tasks are of lesser importance. In the following section, we will therefore focus on the description of where these users find their available RDMS Team Drives in the web interface or when using one of the [[rdms:access:|clients]]. We will also explain how to transfer files to/from a Team Drive location, as a short example. === Accessing Team Drives from the Web Interface and RDMS Clients === **From the web interface** From the web interface, available Team Drives are listed in the [[rdms:webapp:databrowser|Data Browser]] tab. Clicking on the name of one of the listed Team Drives will open it. {{ :rdms:solution:tdms_team_user1.png?direct&800 |}} Afterwards, basic tasks can be performed directly in the web interface, for example, the creation of new folders or uploading of small files (<50 MB). Alternatively, if the correct location of the respective Team Drive is known, in our example ''/rug/home/Example_Team1'', it is also possible to copy this location to the address bar in the web interface, and confirm by pressing 'Enter' to reach the Team Drive. {{ :rdms:solution:rdms_team_user2.png?direct&800 |}} **Using one of the GUI clients (e.g. Cyberduck)** When using Cyberduck as an example for a GUI client for the RDMS, the Team Drive locations can be accessed in the following way: If you are using the **native iRODS protocol for Cyberduck** and you did not set a special configuration in Cyberduck, you will see your personal Home location after login (e.g., ''/rug/home/<mailadress>''). As this is one level down the folder hierarchy of the RDMS, you first need to navigate one level up to see the available RDMS Team Drive. {{ :rdms:solution:rdms_team_cyberduck2.png?direct&700 |}} At the higher level, in this example ''/rug/home/'', all of the locations where you have some level of permissions (this includes Team Drives) will be available. Just click on a folder to access/open it. Afterwards, file management tasks like up-/download (see below) can be performed. {{ :rdms:solution:rdms_team_cyberduck3.png?direct&700 |}} For Cyberduck on Windows, it is also possible to directly specify the full location to reach a Team Drive. Within Cyberduck, this can be done from the Menu under ''Go'' -> ''Go to Folder...'', then specify the location and confirm to open it. **Note:**\\ If you do not use the native iRODS protocol for the connection to the RDMS in Cyberduck, but instead use the WebDAV protocol, the situation is slightly different: Using the WebDAV protocol in Cyberduck always opens the location above the user's personal home location, for example, ''/rug/home/''. From there, other locations like Team Drives can be accessed directly. **Via the CLI using ''iCommands''** For users of ''iCommands,'' the easiest way to access a Team Drive location is by directly navigating to its full location using the ''icd'' command like: $ icd /rug/home/Example_Team1 === Data Transfer/Sharing and Metadata Management within Team Drives === Data transfer in/out of a Team Drive works in the same way as in/out of your personal Home location. If this does not work out as expected, you likely lack the correct permissions for your desired task. Please check our overview of the different [[rdms:data:permissions|permission levels]] for the needed permissions. If in doubt, contact the owner/manager of the Team Drive for further information or contact the RDMS support for assistance. Log In