Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
| rdms:data:permissions [2024/09/03 08:42] – Updated the "null" text to reflect changes in iRODS 4.3 giulio | rdms:data:permissions [2025/12/11 13:56] (current) – [Inheritance] reworked text and added example use case giulio | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== Permissions and Inheritance====== | ====== Permissions and Inheritance====== | ||
| - | Within the RDMS, we support **four levels of permissions** or user privileges to files and folders | + | Within the RDMS, we support **four levels of permissions** or user privileges to files and folders. These permissions are either automatically assigned when a file or folder enters the RDMS, or they can be defined by the user(s). |
| In an order of ascending privileges, these permissions are ' | In an order of ascending privileges, these permissions are ' | ||
| Line 8: | Line 8: | ||
| ^ Permission Level ^ Read | ^ Permission Level ^ Read | ||
| - | | **Null** | + | | **Null** |
| - | | **Read** | + | | **Read** |
| - | | **Write** | + | | **Write** |
| - | | **Own** | + | | **Own** |
| And for a more detailed explanation of what this permissions mean: | And for a more detailed explanation of what this permissions mean: | ||
| - | **Own**: The user owns the data object (file) or the collection (folder) and has the full permission on reading, modifying (including deletion), and sharing. | + | **Own**: The user owns the data object (file) or the collection (folder) and has the full permission on reading, modifying (including deletion), and sharing. This permission is assigned automatically to a file a user uploads into their RDMS Home Drive, for example. |
| - | **Write**: The user has read and write access to the object. | + | **Write**: The user has read and write access to the object. This permission level does not allow you to rename or delete |
| - | **Read**: The user can only read the object or its content. This also allows to make a (editable) copy of the file/ | + | **Read**: The user can only read the object or its content. This also allows to make a (editable) copy of the file/ |
| - | **Null**: The user does not have any permission on the object. One can use ' | + | **Null**: The user does not have any permission on the object. One can use ' |
| **Important Note** | **Important Note** | ||
| - | * While ' | + | |
| - | * Previously, it was possible | + | |
| - | ===== Inheritance ===== | + | ===== Permission |
| - | Inheritance | + | Permission inheritance |
| - | By default, permission inheritance is active within the RDMS, but it can also be disabled | + | By default, permission inheritance is active within the RDMS for [[rdms: |
| - | Users who decide | + | |
| - | Also, it should be noted that it is also possible to modify user permissions on specific subfolders or files when permission inheritance is activated on the main folder. | + | If you decide to disable permission inheritance, you should be aware that this means that permissions on all (sub)folders and files have to be set individually. |
| + | Also, it should be noted that it is also possible to modify user permissions on specific subfolders or files when permission inheritance is activated on the main folder. | ||
| + | |||
| + | In order to make this concept clearer, we are going to describe a general use case and show what happens when permission inheritance are turned on or off. Please bear in mind that we will be considering a basic set up, but that for more complex cases the effect of permission inheritance might not be immediately straightforward. | ||
| + | |||
| + | **General Use Case**: User A uploads a file to folder in their Team Drive. The destination folder has three RDMS users with permissions: | ||
| + | |||
| + | ==== Example: Permission Inheritance - ON ==== | ||
| + | |||
| + | User A uploads the file. User A has now Write permission on the file, so User A is now unable to change the permissions on the file. User A retains the ability to modify the file. In the Team Drive, both User B and User C can now see the uploaded file. User C is able to view the file, but not much else. User B has now ownership of the file, so they can change permissions on the file, if needed. User B can now also rename and delete the file, along with modifying it. | ||
| + | |||
| + | ==== Example: Permission Inheritance - OFF ==== | ||
| + | |||
| + | User A uploads the file. User A obtains Own permission on the file, since they uploaded it. In the Team Drive, both User B and User C **cannot** see the file. Effectively for them, nothing changed in the Team Drive. If user A wants to grant some permission to them, User A needs to do so manually. Such a setup would allow User A to directly grant User C Write permission after the file was uploaded. User B was granted Read permission, because they do not need to modify that specific file, for example. | ||