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

Restrictions & Guest-App dilemma #81

Open
6 tasks
felixheidecke opened this issue May 9, 2017 · 11 comments
Open
6 tasks

Restrictions & Guest-App dilemma #81

felixheidecke opened this issue May 9, 2017 · 11 comments
Labels

Comments

@felixheidecke
Copy link
Contributor

felixheidecke commented May 9, 2017

@pmaier1 and I just looked at the new implementation idea of guests and sharing with existing users if the email address exists and discovered these dilemmata.

E-Mail exists Restrict sharing to own group Result
Create guest, share with guest
✔️ Share with existing user (not guest)
✔️ 💥 Create guest, can't share with guest
✔️ ✔️ 💥 Can't share with user / can't create guest

@PVince81 @IljaN @michaelstingl @felixboehm @hodyroff … just to name a few who might be interested ;-)

Decision for the version that should be ready for 10.0.1

@felixheidecke
Copy link
Contributor Author

felixheidecke commented May 9, 2017

The only logical conclusion that I have is if the sharing restriction is enabled, the guest app will be disabled.

@pmaier1
Copy link
Contributor

pmaier1 commented May 9, 2017

Added Decision for the version that should be ready for 10.0.1

@PVince81
Copy link
Contributor

PVince81 commented May 9, 2017

Guest app may not be enabled if the restriction is active + error message in 'Apps' settings

Should be possible by throwing an exception on the server side when enabling and put a message in the exception, but not sure if it will be translated.

When guest app is enabled, disable (API) and grey out the sharing restriction option

Will need some JS hackery, JS code from the guests app that wakes up on the admin page in the right section and finds the checkbox to disable it.

@felixboehm
Copy link
Contributor

felixboehm commented May 10, 2017

Case 4) also covering Case 3)

Restrict sharing to own group: The purpose is to prevent finding existing users (via sharing dialog user search).
So with enabled guest, you can share via email, even if receiver is existing and not part of your groups.

  • Rename option to be more specific?
  • How is option implemented? Shares not possible - or lookup not possible?

@felixboehm
Copy link
Contributor

felixboehm commented May 10, 2017

I think this code makes no sense: https://github.com/owncloud/core/blob/master/lib/private/Share/Share.php#L730

What would be the use case ?

Need input from PM
@pmaier1

@pmaier1
Copy link
Contributor

pmaier1 commented May 10, 2017

Updated my comment #81 (comment) according to discussion with @felixboehm @hodyroff @felixheidecke.

@felixboehm
Copy link
Contributor

Who can provide an update on what was done here for 10.0.1 ?

@PVince81
Copy link
Contributor

Only owncloud/core#27849 was done AFAIK (I just ticked the box)

As for owncloud/core#27847, some use cases seemed to work with @tomneedham's old PR, but not all use cases.

@PVince81
Copy link
Contributor

Sending out invitation mail might need to be prevented

Last I checked this already worked. The backend refused to send an email but no error was shown, needs proper error handling.

@PVince81
Copy link
Contributor

looks like the duplicate email detection doesn't work correctly in all cases: owncloud/core#27847 (comment).

@PVince81
Copy link
Contributor

@felixheidecke can you take care of the other frontend tasks ?

@felixheidecke felixheidecke removed their assignment May 24, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants