Skip to content

Make sharing permission defaults configurable #28384

Closed

Description

@pmaier1

We should switch to a more conservative policy in these regards.

This will prevent users from unintentionally giving more permissions on shares as needed. Users will have to consciously decide which additional permissions a recipient should have.
Will also tackle the issue that there always is a short time frame after sharing a file where all permissions are given #11707.

I hope this is not a duplicate, could not find anything during a quick search.

@felixboehm @PVince81 Please find an assignment for this for 10.0.3.

Edit:
Had another discussion and decided that changing defaults hardcoded is too big of a step. This means that we also need it configurable in the first step.
For this a config switch with the following options would be minimum.

  • all (default; -> as it is today)
  • read-only

Depending on efforts setting granular defaults would be nice of course.

Activity

  1. added
    p2-high
    on Jul 12, 2017
  2. added this to the triage milestone on Jul 12, 2017
  3. PVince81 commented on Jul 12, 2017

    @PVince81
    Contributor

    @pmaier1 duplicate of #11707, I found easily because I knew it existed 😉

    As long as something is in backlog and not planned it doesn't make much sense to find an assignment.

  4. changed the title [-]Change sharing permission defaults to read-only[/-] [+]Make sharing permission defaults configurable[/+] on Jul 12, 2017
  5. pmaier1 commented on Jul 12, 2017

    @pmaier1
    ContributorAuthor

    Yep, I thought to untangle the issue in smaller steps to make it easier to have a first step in 10.0.3 but it turned out that just changing defaults would not be a good idea which is why I edited with a minimum approach to make at least "extremes" configurable. I also read #11707 but I thought this ticket is a possible solution to it.

    As long as something is in backlog and not planned it doesn't make much sense to find an assignment.

    If possible it would be good to plan the minimum approach for 10.0.3 which is why I asked to find an assignment.

  6. self-assigned this
    on Jul 12, 2017
  7. PVince81 commented on Jul 12, 2017

    @PVince81
    Contributor

    assigning self

  8. modified the milestones: development, triage on Jul 12, 2017
  9. pmaier1 commented on Jul 24, 2017

    @pmaier1
    ContributorAuthor
    • Add to admin docs
    • Add a hint in the 'Hardening' guide
  10. PVince81 commented on Aug 3, 2017

    @PVince81
    Contributor

    @felixboehm you moved this to development, do you still consider this to be a topic for 10.0.3 ?

    same question for @pmaier1

  11. PVince81 commented on Aug 7, 2017

    @PVince81
    Contributor

    Dev plan:

    • add new checkbox in settings page under "Sharing" for the administrator: "[x] newly created local shares are read-write by default". The checkbox is ticked by default. If the admin unticks, then they will be read-only.
    • adjust OCS API code to use that setting for its defaults
    • (might not be required, need to test) pass the value to the JS side to properly set the default permissions
    • expose default perms through capabilities API for clients
  12. PVince81 commented on Aug 7, 2017

    @PVince81
    Contributor

    for the above plan, estimate is 0.25-0.5 md

  13. PVince81 commented on Aug 8, 2017

    @PVince81
    Contributor

    WIP PR here: #28619

  14. pmaier1 commented on Aug 10, 2017

    @pmaier1
    ContributorAuthor

    you moved this to development, do you still consider this to be a topic for 10.0.3 ?

    Actually yes, if possible.

  15. PVince81 commented on Aug 31, 2017

    @PVince81
    Contributor

    at the bottom of my todo list currently, will move if I don't get to it before final.

  16. pmaier1 commented on Aug 31, 2017

    @pmaier1
    ContributorAuthor

    at the bottom of my todo list currently, will move if I don't get to it before final.

    10.0.4 is fine if you can't make it for 10.0.3 anymore.

  17. PVince81 commented on Sep 1, 2017

    @PVince81
    Contributor

    PR ready for review: #28619

  18. lock commented on Aug 1, 2019

    @lock

    This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

  19. locked as resolved and limited conversation to collaborators on Aug 1, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancementfeature:sharingp2-highstatus/STALE

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions