Content
View differences
Updated by Sajan Gurung 8 months ago
**As** an administrator
**I want to** be able to remove users from the "OpenProject"-group on Nextcloud even when the "OpenProject"-Group is the only group membership of the user
**so that** I can control users access to automatic managed group folders through the "OpenProject"-group membership.
**Acceptance criteria**
* Users can be removed from the "OpenProject"-group on Nextcloud even when the "OpenProject"-Group is the only group membership of the user.
**Technical notes**
* Since Nextcloud doesn't allow removing users from their group, the proposed solution is to have a new group which contains the users removed from the OpenProject group.
* The general flow for removing user from OpenProject group would be:
* Add user to that new group
* Remove user from OpenPorject group
* Need to consider how this works for users coming from OIDC provider (like Keycloak)
**Permissions and visibility considerations**
* _Adminstrators_
<br>
#### Steps for testing
1. Set up integration with project folders enabled
2. As NC admin, go to the `Accounts` settings and create some users: `user1`, `user2`, `user3`
3. Add all created users to the `OpenProject` group
4. Update the password Make `user1` sub-admin of `OpenProject` user group
5. Login as user `OpenProject` `user1`
6. As `OpenProject`, `user1`, go to `Accounts` settings and remove `user1` `user2` from `OpenProject` group
7. Check that `user1` `user2` is in the `OpenProjectNoAutomaticProjectFolders` group
##
### Screencast
[Screencast\_from\_2025-09-22\_12-10-07.webm](https://community.openproject.org/attachments/785183/Screencast_from_2025-09-22_12-10-07.webm)
<br>
<br>
**I want to** be able to remove users from the "OpenProject"-group on Nextcloud even when the "OpenProject"-Group is the only group membership of the user
**so that** I can control users access to automatic managed group folders through the "OpenProject"-group membership.
**Acceptance criteria**
* Users can be removed from the "OpenProject"-group on Nextcloud even when the "OpenProject"-Group is the only group membership of the user.
**Technical notes**
* Since Nextcloud doesn't allow removing users from their group, the proposed solution is to have a new group which contains the users removed from the OpenProject group.
* The general flow for removing user from OpenProject group would be:
* Add user to that new group
* Remove user from OpenPorject group
* Need to consider how this works for users coming from OIDC provider (like Keycloak)
**Permissions and visibility considerations**
* _Adminstrators_
<br>
#### Steps for testing
1. Set up integration with project folders enabled
2. As NC admin, go to the `Accounts` settings and create some users: `user1`, `user2`, `user3`
3. Add all created users to the `OpenProject` group
4. Update the password
5. Login as user `OpenProject`
6. As `OpenProject`,
7. Check that `user1`
##
### Screencast
[Screencast\_from\_2025-09-22\_12-10-07.webm](https://community.openproject.org/attachments/785183/Screencast_from_2025-09-22_12-10-07.webm)
<br>
<br>