Skip to content

[QA] Re-Sharer can increase permissions #893

Closed

Description

@jnweiger

Setup via docker-compose-eos-test.yml from branch fix-yml-for-rc5 on localhost

Via WEB UI:

  • login as einstein, share a folder with richard as viewer only
  • log in as richard, accept the folder, re-share to moss as editor
  • login as moss, accept the folder, enter the folder, upload a file into it. Works. BAD.
  • check the situation as einstein:
    image

Although richard is clearly only Viewer, and moss received the share through richard, moss is Editor.
(At least einstein can clearly see what happend). Okayish.

Expected behaviour: share receiver can only reshare with same or subset of his own permissions.

Activity

  1. jnweiger commented on Nov 18, 2020

    @jnweiger
    ContributorAuthor

    A public link created by richard with Editor role behaves differently:
    Richard sees, that the link has Editor permissions, but
    users of the link cannot upload until einstein gives richard editor permissons.

    While this behaviour is technically cool, it is absolutely not transparent for the participants.
    My expected behaviour for the public link would be the same: richard should only be able to set the same permissions that he has.

    Editor and other choices should be grayed out, and have a tooltip explaining that the own permissions are currently insufficient.

  2. jnweiger commented on Nov 18, 2020

    @jnweiger
    ContributorAuthor

    According to @pmaier1 re-sharing should not be possible at all.

  3. micbar commented on Nov 20, 2020

    @micbar
    Contributor

    @butonic Can you please confirm, that this was expected?

  4. davitol commented on Nov 20, 2020

    @davitol
    Contributor

    Kind of dupe of #552 ?

  5. dpakach commented on Nov 25, 2020

    @dpakach
    Contributor

    Also similar issue owncloud/product#270

  6. changed the title [-][QA] Re-Sharer can increare permissions[/-] [+][QA] Re-Sharer can increase permissions[/+] on Dec 8, 2020
  7. exalate-issue-sync commented on Dec 10, 2020

    @exalate-issue-sync

    Jörn Friedrich Dreyer commented: another dupe: #893

    inital PR to fix it: cs3org/reva#1368

  8. jnweiger commented on Dec 17, 2020

    @jnweiger
    ContributorAuthor

    Retested with ocis-1.0.0-rc8 via ocis/deployments/examples/ocis_traefik/

    No more resharing conspiracy possible:
    share receiver gets an GRPC error when trying to re-share a readonly share.

    That is an acceptable workaround, but not nice.

  9. pmaier1 commented on Dec 17, 2020

    @pmaier1

    Retested with ocis-1.0.0-rc8 via ocis/deployments/examples/ocis_traefik/

    Try a reload after encountering the error. Unfortunately the share is created nevertheless. But luckily the 3rd user does not get the share.

  10. added
    Interaction:Needs-help
    Category:Defect
    on Jan 13, 2021
  11. refs commented on Jan 13, 2021

    @refs
    Contributor

    @pmaier1 @micbar just want to bring this to the picture again. As it has p2-high is this something we should re-test and come to a conclusion?

  12. micbar commented on Jan 13, 2021

    @micbar
    Contributor

    We should fix it during our hardening of the share features.

  13. v-scharf commented on Sep 3, 2021

    @v-scharf
    Contributor

    re-sharing is off. Need a re-test when we turn it on

  14. added
    Priority:p2-high
    on Sep 3, 2021
  15. micbar commented on May 10, 2022

    @micbar
    Contributor

    Resharing is disabled.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Category:DefectInteraction:Needs-helpPriority:p2-highType:Bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions