owncloud / owncloud/ocis

Space image updated with `edit` permission

Open
#11,794 3 comments 0 reactions 0 assignees View on GitHub
Type:Bug
Dominant language
Go
Stars
2.1k
Forks
274
Avg merge
2d 1h
Merged PRs (30d)
103

Description

## Describe the bug

A space member with `editor` permission is not allowed to edit image

Image

If a `manager` (allowed to edit image) is downgraded to `editor` by another `manager` while a new image is being chosen, the operation is allowed.

Is `editor` allowed or not?

## Steps to reproduce

Performed with a mobile client:

1. User1 is `manager` of the space
2. User1 choose `Edit image`
3. Before choosing an image, another space `manager` downgrades User1 to `editor`
4. User1 submit the image

## Expected behavior

Either the option is displayed and listed also for `editor` , or the operation is not allowed for `editor`

## Actual behavior

Option not displayed for `editor` but allowed under the hood.

## Setup

ownCloud Infinite Scale
Edition Community
Version 7.3.0
Web client version 12.1.1

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.