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
Some thoughts on how to improve sharing which @MTRichards and I discussed. @MTGap what do you think? We should collaborate on that soon to make sharing more awesome.
Share dialog in general
input field should have suggestions directly, maybe use Chosen.js
more padding, bigger in general, better grouping (I’ll do that ;)
show name, »can edit« and »can share« and x directly (edit & share default on)
line up detail CRUD dropdown as list with »can edit«, default all selected
in the future user images on the left of each row
Share via email
currently goes through share with link, too cumbersome
should be integrated in the one field on top: »Share with user or email«
show email in list like username [email protected], only action is x
future: generate unique link per email address so revocation on a per-person basis is possible
-- separation here --
Share link
rename from »share public link«
input box next to label
»password protect« slightly indented maybe, or group it somehow
-- separation here --
Expiration date
ability to set date and time (only granular to hours)
make impossible to choose date in past, minimum 1 hour in future
show countdown as feedback (only granular to hours)
admin ability to set default expiration time (default: expiration completely disabled)
input field should have suggestions directly, maybe use Chosen.js
This used to be how it was, but it was a huge performance hit for large user bases. Even with retrieving a few users at a time would have performance issues because of trying to sort them in the list.
You should know at least part of the name of the person you want to share with.
Allow implicitly sharing all files in (a) shared folder, ideally even avoid confusion where user finds 'his' files in home while others see it in shared/.
Regarding Chosen.js: logic suggests you first get to choose a group, not individual user(s).
Current implementation/dialog is close to useless, it even expects users to know name of the group they're in themselves, which is not shown anywhere. This IF user understands he's supposed/allowed to enter group name there at all.
In 5.0.6 the entire file rights dialog/structure seems to be missing, so hoping this will get fixed soon.
@karlitschek I was referring to the share dialog from OC 4.5.
I previously used OC 4.5, and there was an option to give groups a "can edit" permission under the share dialog.
I haven't found a similar option in OC 5, and I searched quite a bit too, I'm therefore under assumption that this dialog item was removed in OC 5.
I'm stuck with the message "You don't have write permissions here.", is there anything that could be done with this?
@karlitschek@tuxick Scratch that, I just realized it's still there, you just have to hover over the group/user after you've added them to the share list.
Sorry about that.
I have a question and a suggestion regarding the sharing design.
Why is it not possible to rename a file/folder that s.o. shared directly with me, but a file/folder that is located in a shared folder?
This possibility would be useful when several users shared folders with generic names like "Pictures" with you.
As renaming is not possible right now, you have to click on the sharing dialog of each folder to look for a shared folder of a certain User .
What do you think about putting this info to the file list? I think most users have enough space on their screens and one would save many clicks.
@brmnHH thank you for the question – this issue is only for the sharing dialog design though, not for other functionality. It is a valid point though, can I ask you to open a separate issue for that (for the renaming)?
Regarding who the original owner is, yes we will put that in the file list.
Found my way here while searching Google for a way to force a default value in the expiration date for links. It looks like this is planned, but not in place yet. For anyone else who may stumble upon this, I've got a fairly simple solution which worked for me.
In /core/js/share.js (copied to my theme folder of course) in the change handler for the link checkbox, I added this code.
// Force Expiry
var fortnightAway = new Date(+new Date + 12096e5);
OC.Share.showExpirationDate([
fortnightAway.getDate(),
fortnightAway.getMonth()+1,
fortnightAway.getFullYear()].join('-')
);
// Trigger the change handler to save this expiration date.
$(document).find('#dropdown #expirationDate').change();
What this does is when they initially click the "share link" box, it will automatically check the expires box, and set a date 2 weeks in the future. This encourages use of this feature, while allowing users to still uncheck it if needed.
(The handler is around line 540 $(document).on('change', '#dropdown #linkCheckbox', function() {)
I showed a new user the share dialog in 6.0.0a today. A few things came up.
He seemed to think he could specify someone in the "Share with user or group ..." field, then the share link would only work for that person.
Maybe make the border between the share link div and the rest more obvious?
It was unclear if the expiration date applied to all the shared features or not. As in, when it hits, do users in the "Share with user or group ..." field lose access, or does just the link expire?
Maybe change "Set expiration date" to "Set expiration date for all shares"?
He also had issues figuring out that the share applied as soon as he clicked something. He kept looking for a save button.
Maybe add a "changes saved" message to the top of the dialog?
I would say a js timeout on dropdown or notification as mentioned above. At least something to give the confirmation (dropdown rollup, notification, etc) ... most users figure it out but i've had a few just sit there waiting for something :)
I would love if you could change the default permissions when sharing file or folder.
The admin should be able to set the default to maybe share without edit and that the user have to chose the edit and later on delete permissions.
Being able to configure all the sharing settings with default values would be really cool. I hear that a lot, like default to use passwords or expirations, default to just read only, etc.
The first mock up looks strangely very close to what we already have.
Also many of the defaults that have been discussed have been implemented already, and also the expiration date selection limits.
This ticket should probably be reformulated to only include what is left to implement.
Pretty much everything in the spec has been implemented. Except the integration of sharing with email addresses. But as discussed with @karlitschek in the past this could lead to confusion with federated sharing.
"future: generate unique link per email address so revocation on a per-person basis is possible"
In which issue is addressed? for what i have checked is still not a merged feature.
I have got that it is waiting on #22327, is this correct?
Activity
MTGap commentedon May 11, 2013
The only one I have issue with is:
This used to be how it was, but it was a huge performance hit for large user bases. Even with retrieving a few users at a time would have performance issues because of trying to sort them in the list.
You should know at least part of the name of the person you want to share with.
pschichtel commentedon May 11, 2013
I'd prefer to have a proper modal dialog instead of a dropdown menu
tuxick commentedon May 15, 2013
Allow implicitly sharing all files in (a) shared folder, ideally even avoid confusion where user finds 'his' files in home while others see it in shared/.
Regarding Chosen.js: logic suggests you first get to choose a group, not individual user(s).
Current implementation/dialog is close to useless, it even expects users to know name of the group they're in themselves, which is not shown anywhere. This IF user understands he's supposed/allowed to enter group name there at all.
In 5.0.6 the entire file rights dialog/structure seems to be missing, so hoping this will get fixed soon.
Contex commentedon May 21, 2013
I'm curious to why the file rights dialog was removed, it's one of the main reasons I use ownCloud.
karlitschek commentedon May 21, 2013
@Contex Which dialog are you referring to exactly? I'm not aware of a removed dialog
Contex commentedon May 21, 2013
@karlitschek I was referring to the share dialog from OC 4.5.
I previously used OC 4.5, and there was an option to give groups a "can edit" permission under the share dialog.
I haven't found a similar option in OC 5, and I searched quite a bit too, I'm therefore under assumption that this dialog item was removed in OC 5.
I'm stuck with the message "You don't have write permissions here.", is there anything that could be done with this?
Contex commentedon May 21, 2013
@karlitschek @tuxick Scratch that, I just realized it's still there, you just have to hover over the group/user after you've added them to the share list.
Sorry about that.
tuxick commentedon May 22, 2013
oh great, that was well hidden :) used to classic html form/js dialogs :)
jancborchardt commentedon May 22, 2013
Yes, sorry for the confusion. This will be more clearly with the redesign, not necessitating any hovering.
But please, open separate issues for such feedback. This thread is for design planning.
brmnHH commentedon Jul 11, 2013
I have a question and a suggestion regarding the sharing design.
Why is it not possible to rename a file/folder that s.o. shared directly with me, but a file/folder that is located in a shared folder?
This possibility would be useful when several users shared folders with generic names like "Pictures" with you.
As renaming is not possible right now, you have to click on the sharing dialog of each folder to look for a shared folder of a certain User .
What do you think about putting this info to the file list? I think most users have enough space on their screens and one would save many clicks.
jancborchardt commentedon Jul 11, 2013
@brmnHH thank you for the question – this issue is only for the sharing dialog design though, not for other functionality. It is a valid point though, can I ask you to open a separate issue for that (for the renaming)?
Regarding who the original owner is, yes we will put that in the file list.
brmnHH commentedon Jul 11, 2013
Great! Happy to hear, that you will add that.
I opened a new issue: #4028
dustingraham commentedon Oct 11, 2013
Found my way here while searching Google for a way to force a default value in the expiration date for links. It looks like this is planned, but not in place yet. For anyone else who may stumble upon this, I've got a fairly simple solution which worked for me.
In /core/js/share.js (copied to my theme folder of course) in the change handler for the link checkbox, I added this code.
What this does is when they initially click the "share link" box, it will automatically check the expires box, and set a date 2 weeks in the future. This encourages use of this feature, while allowing users to still uncheck it if needed.
(The handler is around line 540
$(document).on('change', '#dropdown #linkCheckbox', function() {)jerrac commentedon Jan 15, 2014
I showed a new user the share dialog in 6.0.0a today. A few things came up.
tripflex commentedon Jan 17, 2014
I would say a js timeout on dropdown or notification as mentioned above. At least something to give the confirmation (dropdown rollup, notification, etc) ... most users figure it out but i've had a few just sit there waiting for something :)
Ewoxx commentedon Jan 30, 2014
I would love if you could change the default permissions when sharing file or folder.
The admin should be able to set the default to maybe share without edit and that the user have to chose the edit and later on delete permissions.
MTRichards commentedon Jan 30, 2014
Being able to configure all the sharing settings with default values would be really cool. I hear that a lot, like default to use passwords or expirations, default to just read only, etc.
jancborchardt commentedon Jan 31, 2014
Yeah, we could add these configurable defaults to the sharing admin settings.
MorrisJobke commentedon Mar 27, 2015
This will also fix #3224
PVince81 commentedon Jul 15, 2015
The first mock up looks strangely very close to what we already have.
Also many of the defaults that have been discussed have been implemented already, and also the expiration date selection limits.
This ticket should probably be reformulated to only include what is left to implement.
PVince81 commentedon Jul 15, 2015
Ticket for moving the share dialog into the sidebar: #17665
jancborchardt commentedon Sep 15, 2015
Pretty much everything in the spec has been implemented. Except the integration of sharing with email addresses. But as discussed with @karlitschek in the past this could lead to confusion with federated sharing.
At least this giant issue should be closed. ;)
Rocco83 commentedon Sep 25, 2016
Hi,
"future: generate unique link per email address so revocation on a per-person basis is possible"
In which issue is addressed? for what i have checked is still not a merged feature.
I have got that it is waiting on #22327, is this correct?
@jancborchardt any comment?
lock commentedon Aug 3, 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.