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
Copy file name to clipboardExpand all lines: README.md
+45-15Lines changed: 45 additions & 15 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -51,11 +51,11 @@ Name | Description | Details
51
51
**Allow password change** | Can user change its password. The password change is propagated to the database. See [Hash algorithms](#Hash algorithms). | Optional.<br/>Default: false.
52
52
**Use cache** | Use database query results cache. The cache can be cleared any time with the *Clear cache* button click. | Optional.<br/>Default: false.
53
53
**Hashing algorithm** | How users passwords are stored in the database. See [Hash algorithms](#Hash algorithms). | Mandatory.
54
-
**Email sync** | Sync e-mail address with the Nextcloud.<br/>- *None* - Disables this feature. This is the default option.<br/>- *Synchronise only once* - Copy the e-mail address to the Nextcloud storage if its not set.<br/>- *Nextcloud always wins* - Always copy the e-mail address to the database. This updates the user table.<br/>- *SQL always wins* - Always copy the e-mail address to the Nextcloud storage. | Optional.<br/>Default: *None*.Requires user's *Email* column.
54
+
**Email sync** | Sync e-mail address with the Nextcloud.<br/>- *None* - Disables this feature. This is the default option.<br/>- *Synchronise only once* - Copy the e-mail address to the Nextcloud storage if its not set.<br/>- *Nextcloud always wins* - Always copy the e-mail address to the database. This updates the user table.<br/>- *SQL always wins* - Always copy the e-mail address to the Nextcloud storage. | Optional.<br/>Default: *None*.<br/>Requires user's *Email* column.
55
55
**Home mode** | User storage path.<br/>- *Default* - Let the Nextcloud manage this. The default option.<br/>- *Query* - Use location from the user table pointed by the *home* column.<br/>- *Static* - Use static location. The `%u` variable is replaced with the username of the user. | Optional<br/>Default: *Default*.
56
56
**Home Location** | User storage path for the `static`*home mode*. | Mandatory if the *Home mode* is set to `Static`.
57
57
58
-
## User table
58
+
###User table
59
59
60
60
The definition of user table. The table containing user accounts.
61
61
@@ -69,7 +69,7 @@ Name | Description | Details
69
69
**Display name** | Display name column. | Optional.
70
70
**Can change avatar** | Flag indicating if user can change its avatar. | Optional.<br/>Default: false.
71
71
72
-
## Group table
72
+
###Group table
73
73
74
74
Group definitions table.
75
75
@@ -80,7 +80,7 @@ Name | Description | Details
80
80
**Display name** | Display name column. | Optional.
81
81
**Group name** | Group name column. | Mandatory for group backend.
82
82
83
-
## User group table
83
+
###User group table
84
84
85
85
Associative table which maps users to groups.
86
86
@@ -90,21 +90,51 @@ Name | Description | Details
90
90
**Username** | Username column. | Mandatory for group backend.
91
91
**Group name** | Group name column. | Mandatory for group backend.
92
92
93
+
## Integrations
93
94
95
+
The basic functionality requires only one database table: [User table](#User table).
94
96
97
+
For all options to work three tables are required:
98
+
-[User table](#User table),
99
+
-[Group table](#Group table),
100
+
-[User group table](#User group table).
95
101
102
+
If you already have an existing database you can always create database views which fits this model,
103
+
but be aware that some functionalities requires data changes (update queries).
96
104
97
-
98
-
99
-
100
-
101
-
102
-
103
-
104
-
105
-
106
-
107
-
## Integrations
105
+
If you don't have any database model yet you can use below tables (MySQL):
0 commit comments