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 [2026/01/14 14:21] – [Example: Permission Inheritance - Disabled] rephrasing giulio | rdms:data:permissions [2026/01/15 14:49] (current) – formatting giulio | ||
|---|---|---|---|
| Line 43: | Line 43: | ||
| **Important Note:** The RDMS considers a file or folder **new** if you **upload** it to the RDMS or if you **copy** it from an existing RDMS location. A file or folder is **not** considered **new** if you **move** it from an existing RDMS location. In this second case, you will need to manually modify the permissions on the file or folder. We recommend you verify the permissions assigned to a file or folder after you moved it to a new location, regardless of whether permission inheritance is enabled or disabled. | **Important Note:** The RDMS considers a file or folder **new** if you **upload** it to the RDMS or if you **copy** it from an existing RDMS location. A file or folder is **not** considered **new** if you **move** it from an existing RDMS location. In this second case, you will need to manually modify the permissions on the file or folder. We recommend you verify the permissions assigned to a file or folder after you moved it to a new location, regardless of whether permission inheritance is enabled or disabled. | ||
| - | To display things more easily, we decided to use the CLI client [[..: | + | To display things more easily, we decided to use the CLI client [[..: |
| < | < | ||
| - | # The ' | + | # This is the folder with enabled inheritance that we use as destination. Note the permissions set on this folder (the part after 'ACL' |
| - | # Please look to the ' | + | $ ils -A / |
| - | # In this case, the permission level is ' | + | ACL - teamdrive-owner@rug.nl# |
| + | Inheritance - Enabled | ||
| + | |||
| + | # First, we we will show what happens if we copy the folder | ||
| + | $ icp -r folder_test / | ||
| + | |||
| + | # Checking | ||
| + | data --> Inheritance is applied. | ||
| + | $ ils -A / | ||
| + | / | ||
| + | ACL - teamdrive-owner@rug.nl# | ||
| + | Inheritance - Enabled | ||
| + | |||
| + | # Now, we look at the permission of the second | ||
| + | # In this case, it is only a single user (rdms-testers@rug.nl) who has ' | ||
| $ ils -A folder_test | $ ils -A folder_test | ||
| / | / | ||
| Line 55: | Line 69: | ||
| # The folder is now moved to a RDMS destination with permission inheritance enabled. | # The folder is now moved to a RDMS destination with permission inheritance enabled. | ||
| - | # The ' | ||
| - | # ACL - teamdrive-owner@rug.nl# | ||
| - | # So other users have permissions in this folder and ' | ||
| $ imv folder_test / | $ imv folder_test / | ||
| - | # We list the details of the folder | + | # We check now the permissions |
| - | # Even with enabled inheritance, | + | |
| - | # Move: Does not count as new data --> Inheritance is not applied. | + | |
| $ ils -A / | $ ils -A / | ||
| / | / | ||
| ACL - rdms-testers@rug.nl# | ACL - rdms-testers@rug.nl# | ||
| Inheritance - Disabled | Inheritance - Disabled | ||
| - | |||
| - | # Now we will show what happens if we copy the folder to the destination with enabled inheritance. | ||
| - | $ icp -r folder_test / | ||
| - | |||
| - | # We list the details of the folder a third time. See the ' | ||
| - | # Checking the permission now shows that the inherited permission of the parent folder are applied. | ||
| - | # Copy: Counts as new data --> Inheritance is applied. | ||
| - | $ ils -A / | ||
| - | / | ||
| - | ACL - teamdrive-owner@rug.nl# | ||
| - | Inheritance - Enabled | ||
| </ | </ | ||
| Line 94: | Line 92: | ||
| Inheritance - Enabled | Inheritance - Enabled | ||
| - | # The ' | + | # The ' |
| $ iput test.txt / | $ iput test.txt / | ||
| - | # See the ' | + | # See the ' |
| - | # Permissions on the newly uploaded file show that it inherited the permission from the parent collection automatically | + | # Permissions on the newly uploaded file show that it inherited the permission from the parent collection automatically. |
| $ ils -A / | $ ils -A / | ||
| / | / | ||
| Line 121: | Line 119: | ||
| Inheritance - Disabled | Inheritance - Disabled | ||
| - | # The ' | + | # The ' |
| $ iput test.txt / | $ iput test.txt / | ||
| - | # See the ' | + | # See the ' |
| - | # Permissions on the newly uploaded file show that it only has one permission: own for the uploading user | + | # Permissions on the newly uploaded file show that it only has one permission: |
| $ ils -A / | $ ils -A / | ||
| / | / | ||