Repository navigation
Closed
Labels
Description
Describe the bug
seems works using posixfs but fails in decomposed
Steps to reproduce
Scenario: user of a group cannot remove own group from project space if it is the last manager using root endpoint
Given the administrator has assigned the role "Space Admin" to user "Alice" using the Graph API
And group "group1" has been created
And user "Brian" has been added to group "group1"
And user "Alice" has created a space "NewSpace" with the default quota using the Graph API
And user "Alice" has sent the following space share invitation:
| space | NewSpace |
| sharee | group1 |
| shareType | group |
| permissionsRole | Manager |
And user "Alice" has removed own access from space "NewSpace"
When user "Brian" tries to remove the access of group "group1" from space "NewSpace" using root endpoint of the Graph API
Then the HTTP status code should be "403"
And the user "Brian" should have a space called "NewSpace"
Expected behavior
403
Actual behavior
500 see here https://ci.opencloud.rocks/repos/3/pipeline/50/258
DELETE /graph/v1beta1/drives/380d59c0-9ffb-48d3-9718-8f2e043bee23$25d2300a-0a27-4aed-9e60-d8a3bd3377df/root/permissions/380d59c0-9ffb-48d3-9718-8f2e043bee23:25d2300a-0a27-4aed-9e60-d8a3bd3377df:9b8a5d6b-0bb7-48b5-b32b-3737ad1538df
X-Request-ID: apiSharingNg1/removeAccessToDrive.feature:145-156
<== RESPONSE [2026-05-20T8:50:17]
500 Internal Server Error
X-Xss-Protection: 1; mode=block
<== RES BODY
{"error":{"code":"generalException","innererror":{"date":"2026-05-20T08:50:17Z","request-id":"apiSharingNg1/removeAccessToDrive.feature:145-156"},"message":"error getting share when committing to the storage"}}
Setup
Please describe how you started the server and provide a list of relevant environment variables or configuration files.
Details
OC_XXX=somevalue
OC_YYY=somevalue
PROXY_XXX=somevalueAdditional context
Add any other context about the problem here.
Metadata
Metadata
Assignees
Labels
Type
Projects
- StatusShow more project fieldsDone
Activity
rhafer commentedon May 21, 2026
Hm, I just got the same failure locally when running with posix. So this does not seem to be specific to decomposedfs 🤔
rhafer commentedon May 21, 2026
Hm, this looks like an issue with the test itself to me. From the api-test-failure-logs (https://ci.opencloud.rocks/repos/3/pipeline/50/259):
User
Aliceinvitesgroup1to the space:That gives back the permission id
380d59c0-9ffb-48d3-9718-8f2e043bee23:25d2300a-0a27-4aed-9e60-d8a3bd3377df:410a404f-13d4-4a8a-92c2-910288ca053aThen
Alicetries to remove herself from the space. First it list permission to get the correct permission id:The it sends the delete request. Using the correct permission id for the Alex permission (
380d59c0-9ffb-48d3-9718-8f2e043bee23:25d2300a-0a27-4aed-9e60-d8a3bd3377df:9b8a5d6b-0bb7-48b5-b32b-3737ad1538df)Now
Briantries to the remove thegroup1permission. However it use the same permission id as above instead of the permission id for the group1 share ( which would be380d59c0-9ffb-48d3-9718-8f2e043bee23:25d2300a-0a27-4aed-9e60-d8a3bd3377df:410a404f-13d4-4a8a-92c2-910288ca053a)@ScharfViktor could you take a look?
v-scharf commentedon May 22, 2026
I found -> test was skipped here 6a05b70
I'll do it later, after release. here is ticket opencloud-eu/qa#87