Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

upload attachment only for admin possible ? #503

Closed
cloud2018 opened this issue Jun 21, 2018 · 3 comments
Closed

upload attachment only for admin possible ? #503

cloud2018 opened this issue Jun 21, 2018 · 3 comments

Comments

@cloud2018
Copy link
Contributor

cloud2018 commented Jun 21, 2018

Describe the bug
A user, who is not admin of nextcloud can't upload an attachment to a card?

To Reproduce
Steps to reproduce the behavior:

  1. Login as admin-user
  2. Open a card and attach a file, then the file is uploaded
  3. Share the board to a non admin user
  4. Login with the non-admin user
  5. Open a card and try to upload an attachment
    6, The non-admin user is able to select a file, but the upload doesn't start

Or

Steps to reproduce the behavior:

  1. Login with a non-admin user
  2. Create a card and try to upload an attachment
    3, The non-admin user is able to select a file, but the upload doesn't start

Expected behavior
All user who have the right to change the description of a card can upload attachments

nextcloud.log:
...
{"reqId":"oQM1lNlHJNwZqg8Br5d3",
"level":0,
"time":"2018-06-21T21:01:06+00:00",
"remoteAddr":"127.0.0.1",
"user":"testuser",
"app":"no app in context",
"method":"POST",
"url":"/nextcloud/index.php/apps/deck/cards/2/attachment",
"message":"Logged in user must be an admin",
"userAgent":"Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/60.0",
"version":"13.0.4.0"}

@juliusknorr
Copy link
Member

GitMate.io thinks possibly related issues are #17 (Attachments), #167 (It's possible to open more than one context menus), and #204 (It's not possible to use custom color for a board).

@juliusknorr
Copy link
Member

Thanks for reporting. Can you check the beta2 https://github.com/nextcloud/deck/releases/tag/v0.4.0-beta2 ? Fix was implemented in 313bbca

@cloud2018
Copy link
Contributor Author

works well with beta2
and thanks for this app

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants