You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Make sharing permission defaults configurable #28384
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.
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.
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.
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
Activity
PVince81 commentedon Jul 12, 2017
@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.
[-]Change sharing permission defaults to read-only[/-][+]Make sharing permission defaults configurable[/+]pmaier1 commentedon Jul 12, 2017
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.
If possible it would be good to plan the minimum approach for 10.0.3 which is why I asked to find an assignment.
PVince81 commentedon Jul 12, 2017
assigning self
pmaier1 commentedon Jul 24, 2017
PVince81 commentedon Aug 3, 2017
@felixboehm you moved this to development, do you still consider this to be a topic for 10.0.3 ?
same question for @pmaier1
PVince81 commentedon Aug 7, 2017
Dev plan:
PVince81 commentedon Aug 7, 2017
for the above plan, estimate is 0.25-0.5 md
PVince81 commentedon Aug 8, 2017
WIP PR here: #28619
pmaier1 commentedon Aug 10, 2017
Actually yes, if possible.
PVince81 commentedon Aug 31, 2017
at the bottom of my todo list currently, will move if I don't get to it before final.
pmaier1 commentedon Aug 31, 2017
10.0.4 is fine if you can't make it for 10.0.3 anymore.
PVince81 commentedon Sep 1, 2017
PR ready for review: #28619
lock commentedon Aug 1, 2019
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.