Skip to content
This repository was archived by the owner on Feb 20, 2026. It is now read-only.
/ elabdoc Public archive

Commit ad9d6b6

Browse files
committed
Merge branch 'master' into next
* master: add external collaborators doc fix doc next link rewrite user archiving doc
2 parents c5c8e50 + 08ef4e5 commit ad9d6b6

10 files changed

+63
-18
lines changed

doc/changelog.rst

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,7 @@ Version 5.3.7
5959
Version 5.3.6
6060
-------------
6161

62-
* bug/minor: inventory search query limited (#6119) fix #6116
63-
number of results was limited to 15 for any queries made on the inventory page. Set that limit higher.
62+
* bug/minor: inventory search query limited (#6119) fix #6116. number of results was limited to 15 for any queries made on the inventory page. Set that limit higher.
6463

6564
Version 5.3.5
6665
-------------

doc/contributing.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ Contributing to the code
5555

5656
Word of caution
5757
---------------
58-
It is possible that the gap between the current development version and the current stable version will render this documentation obsolete in parts. It is highly recommended to use the `next` branch of `elabftw/elabdoc`, which is published here: https://doc.elabftw.net/next.
58+
It is possible that the gap between the current development version and the current stable version will render this documentation obsolete in parts. It is highly recommended to use the `next` branch of `elabftw/elabdoc`, which is published here: https://doc.elabftw.net/next/.
5959

6060
=> Read this page on the `next` branch: https://doc.elabftw.net/next/contributing.html#contributing-to-the-code
6161

doc/coordinator-guide.rst

Lines changed: 13 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -26,25 +26,24 @@ Different strategies for managing users in teams
2626
When a user leaves a team
2727
-------------------------
2828

29-
In eLabFTW, there are currently several options for handling the data of users who are about to leave a team. Here are four exit strategies to consider:
29+
In eLabFTW, there are currently several options for handling the data of users who are about to leave a team. Here are a few exit strategies to consider:
3030

31-
A. Archiving the user and their entries
32-
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
31+
A. The User is completely gone
32+
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
3333

34+
If someone stopped working in the lab and will likely not come back, archiving them is the best option. It prevents them from using their account while still allowing other team members to see their past work.
3435

35-
If a person is only a member of one team, they can be archived. In this process, it's possible to choose whether their associated entries should also be locked and archived. This method ensures a clean separation, but it is only suitable if the person belongs to a single team. If the person is active in multiple teams, archiving them would also archive them in the other teams, which is usually not desired.
36+
From the Admin Panel, double-click a User from your team and toggle the section "Manage teams for user". From there, you can Archive someone by toggling the "Is Archived" property of the User in the team.
3637

37-
B. Adjusting visibility and write permissions
38-
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
38+
Note that the Archived status of a User is team-dependent, meaning that a User can be archived in a Team and not in another.
3939

40-
Another exit strategy involves explicitly setting the visibility and write permissions of the entries for the team the person is leaving. To ensure that the entries remain visible to the team after the user’s departure, the corresponding permissions for all entries need to be updated. This can be done by a team admin as a bulk action through the admin control panel. This way, the team retains access to experiments and entries without the person remaining part of the team.
40+
.. figure:: img/archive-action.webp
41+
:align: center
42+
:alt: Archiving a user
4143

42-
C. Transferring ownership or duplicating entries
43-
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
44+
Archiving a user
4445

45-
Another option is to transfer ownership of the entries to another team member. Alternatively, relevant entries can be duplicated before the person is removed from the team. Once a person is removed from the team, their entries are no longer visible to the team, which also means that the original ownership becomes unclear. To avoid this, the name of the original creator can be added to the entry title or stored as a tag to make the data origin more transparent.
46+
B. The User joins another team
47+
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
4648

47-
D. Restricting the visibility of entries
48-
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
49-
50-
Instead of removing the person from the team, they can remain a member while limiting the visibility of their entries. Access rights can be managed so that only the original owner and admins have access to certain entries. This ensures that the person leaving the team cannot access information irrelevant to them, while still technically remaining in the team.
49+
As a Sysadmin or an Admin with "Can manage users/teams association" permissions, add the User to the new Team and Archive them in the old one. If they still need access to their old entries, they can export them from their Profile page and re-import them in the new team, or you can leave the account active in both teams, depending on use case.

doc/img/archive-action.webp

12.7 KB
Loading
33.8 KB
Loading
11.9 KB
Loading
7.21 KB
Loading
6.59 KB
Loading

doc/img/user-permission-view.webp

7.48 KB
Loading

doc/user-guide.rst

Lines changed: 48 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1100,7 +1100,7 @@ As of version 5.2.0, the search page has been moved to the main pages (Experimen
11001100

11011101
Sharing with external collaborators
11021102
===================================
1103-
If you want to share your results with an external collaborator, you have two options:
1103+
If you want to share your results with an external collaborator, you have a few options:
11041104

11051105
Option 1: Export and send
11061106
-------------------------
@@ -1129,3 +1129,50 @@ Then, Users will have the possibility to generate a link with an access key in i
11291129
Sharing this link will give read access to the recipient. If the checkbox is unchecked, previously shared links become obsolete. Using this has the advantage that the recipient can follow the evolution of the results over time.
11301130

11311131
For this feature to work, the instance must be accessible from an external network.
1132+
1133+
Option 3: Share with a user on the instance
1134+
-------------------------------------------
1135+
You might want to share some entries with a specific user, group, or team present on the Instance. For that, go to the Permissions section of an entry:
1136+
1137+
.. figure:: img/user-permission-view.webp
1138+
:align: center
1139+
:alt: permissions
1140+
1141+
Permissions for an entry
1142+
1143+
Click the + sign to display a modal window. From there you can for instance select a Team to add to the base permissions:
1144+
1145+
1146+
.. figure:: img/user-permission-view-team.webp
1147+
:align: center
1148+
:alt: permissions for team
1149+
1150+
Adding a full team
1151+
1152+
This will add all the members of that Team. If you want to be more precise, you can select a Group, or a single user by typing their name in the section at the bottom:
1153+
1154+
.. figure:: img/user-permission-view-user1.webp
1155+
:align: center
1156+
:alt: permissions for user
1157+
1158+
Start typing the name of the collaborator
1159+
1160+
Select the autocompleted user and click "Add".
1161+
1162+
.. figure:: img/user-permission-view-user2.webp
1163+
:align: center
1164+
:alt: permissions for user 2
1165+
1166+
Collaborator is now selected
1167+
1168+
Click "Save" and it will look similar to this now:
1169+
1170+
.. figure:: img/user-permission-view-user3.webp
1171+
:align: center
1172+
:alt: permissions for user 2
1173+
1174+
All members of Team "External Collaborators" + Tata Rohan now have access to this entry
1175+
1176+
You can also do something similar for edition permissions.
1177+
1178+

0 commit comments

Comments
 (0)