We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 834cab8 commit faac97dCopy full SHA for faac97d
owncloudDomain/src/main/java/com/owncloud/android/domain/spaces/usecases/FilterSpaceMenuOptionsUseCase.kt
@@ -3,7 +3,7 @@
3
*
4
* @author Jorge Aguado Recio
5
6
- * Copyright (C) 2025 ownCloud GmbH.
+ * Copyright (C) 2026 ownCloud GmbH.
7
8
* This program is free software: you can redistribute it and/or modify
9
* it under the terms of the GNU General Public License version 2,
@@ -49,7 +49,7 @@ class FilterSpaceMenuOptionsUseCase(
49
optionsToShow.add(SpaceMenuOption.MEMBERS)
50
}
51
52
- if (editPermission || isSpaceManager) {
+ if (editPermission || (isSpaceManager && currentSpace.isDisabled)) {
53
optionsToShow.add(SpaceMenuOption.EDIT)
54
55
0 commit comments