api-test: deleting space#2970
Conversation
Up to standards ✅🟢 Issues
|
| Metric | Results |
|---|---|
| Coverage variation | ✅ +0.01% coverage variation (-1.00%) |
| Diff coverage | ✅ ∅ diff coverage |
Coverage variation details
Coverable lines Covered lines Coverage Common ancestor commit (346cfab) 82262 18943 23.03% Head commit (f0b793d) 82262 (+0) 18955 (+12) 23.04% (+0.01%) Coverage variation is the difference between the coverage for the head and common ancestor commits of the pull request branch:
<coverage of head commit> - <coverage of common ancestor commit>
Diff coverage details
Coverable lines Covered lines Diff coverage Pull request (#2970) 0 0 ∅ (not applicable) Diff coverage is the percentage of lines that are covered by tests out of the coverable lines that the pull request added or modified:
<covered lines added or modified>/<coverable lines added or modified> * 100%
NEW Get contextual insights on your PRs based on Codacy's metrics, along with PR and Jira context, without leaving GitHub. Enable AI reviewer
TIP This summary will be updated as you push new changes.
177ddd4 to
9bc3f03
Compare
is failed. needs reva bump opencloud-eu/reva#672 |
|
need rebase after #2975 |
If the space is already disabled they should get a
👍 |
@rhafer what we expect here?
user member (viewer/editor (space role) user(system role)) tries to enable/delete space -> 403 I think, or 404 because user cannot read disabled space
user not member (user(system role)) tries to enable/delete space -> 404 because no access to space
Space manager(space member role) without space admin(user role) cannot delete space test
Refactor tests
related #1799