🙈 Create guest users which can only see files shared with them
Перейти к файлу
Julius Härtl b75214cfaa
Bump version to 1.6.3
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2021-05-14 11:47:05 +02:00
.github Align phpunit oci config with the others 2020-12-16 09:48:04 +01:00
.tx Fix tx config 2018-02-12 23:05:34 +01:00
appinfo Bump version to 1.6.3 2021-05-14 11:47:05 +02:00
img Add icon, fix #8 2017-04-28 11:17:00 +02:00
l10n [tx-robot] updated from transifex 2021-01-07 02:53:05 +00:00
lib fix inconsistent persistence of guest user properties 2021-05-12 15:40:59 +00:00
screenshots update screenshots 2019-06-20 18:48:50 +02:00
src avoid guest creation modal if a user is currently suggested in the share search 2021-05-10 12:21:13 +02:00
templates/settings Use webpack global config 2020-07-26 11:28:52 +02:00
tests fix inconsistent persistence of guest user properties 2021-05-12 15:40:59 +00:00
.drone.yml More github actions 2020-01-31 14:35:50 +01:00
.eslintrc.js Use webpack global config 2020-07-26 11:28:52 +02:00
.gitignore Add php cs config 2020-07-26 11:47:29 +02:00
.php_cs.dist Add php cs config 2020-07-26 11:47:29 +02:00
CHANGELOG.md Bump version to 1.6.3 2021-05-14 11:47:05 +02:00
LICENSE Initial commit 2017-02-20 12:27:59 +01:00
Makefile Update app to fit 18 new Sharing sidebar 2019-11-27 12:27:24 +01:00
README.md added note on share acceptance 2020-03-20 06:59:10 +01:00
babel.config.js 1.3.1 & webpack babel fix 2019-11-27 16:23:18 +01:00
composer.json Move to automated dependabot merging & update composer 2020-09-04 22:16:44 +02:00
composer.lock Add coverage for sqlite 2020-07-26 11:55:22 +02:00
package-lock.json avoid guest creation modal if a user is currently suggested in the share search 2021-05-10 12:21:13 +02:00
package.json avoid guest creation modal if a user is currently suggested in the share search 2021-05-10 12:21:13 +02:00
phpunit.xml Remove PHP 7.2 from CI for NC master 2020-10-28 09:33:01 +01:00
stylelint.config.js Use webpack global config 2020-07-26 11:28:52 +02:00
webpack.js Use webpack global config 2020-07-26 11:28:52 +02:00

README.md

Guests

Build Status

Create guest users which can only see files shared with them

Usage

  1. Create a guest user by typing their email address in to the sharing dialog.
  2. [Optionally] Set a display name for the guest user.
  3. [Optionally] Set a language for the invitation email (otherwise the server's default language will be used).
  4. [Optionally, only for group admins] Set the groups to put the guests in (note further documentation).
  5. The guest will receive an email invitation with a link to create an account. They only have access to files which are shared with them.

Special behavior under sharing restrictions

Nextcloud allows to restrict users to only share within the groups they are members of themselves (Settings > Administration > Sharing > Restrict users to only share with users in their groups)

If that setting is turned on, guests can only be invited by group admins.

Upon invitation, the group admin must select at least one of their adminstrated groups the guest shall be member of.

Note on share acceptance

Guest users automatically accept all files and folders that are shared with them - other than regular full users, who have to actively accept incoming shares since Nextcloud 18.

Restrictions on guest users

Apps

Administrators can set a whitelist of apps that guest users have access to.

By default the following are allowed:

  • activity
  • files_external
  • files_sharing
  • files_texteditor
  • files_trashbin
  • files_versions
  • firstrunwizard
  • gallery
  • notifications

Hide other users

By default, guests will not be able to list other users in the system, if a guest user gets added to a group he will be able to list users within that group (and, for example, share files with those users).

Auto-convert guest users into full users

Guest users who eventually turn into full users (provided by any other user back end like SAML, LDAP, OAuth, database...) can be automatically converted on their first login, while keeping their shares.

Prerequisites

  1. Nextcloud 18 or higher
  2. target user needs to have the same email address as the guest user
  3. config.php setting 'migrate_guest_user_data' => true,