summaryrefslogtreecommitdiffstats
path: root/apps/user_ldap/appinfo/database.xml
diff options
context:
space:
mode:
authorArthur Schiwon <blizzz@owncloud.com>2012-08-22 10:31:58 +0200
committerArthur Schiwon <blizzz@owncloud.com>2012-08-22 12:44:46 +0200
commitc48732987e39518cacddd568180afa410f08cafe (patch)
tree78983da16e9c3ef14ba072f98bb3ff94e16a76e5 /apps/user_ldap/appinfo/database.xml
parent2b8a2e16eddcd04bd47e2bc93ac691deee5ee762 (diff)
downloadnextcloud-server-c48732987e39518cacddd568180afa410f08cafe.tar.gz
nextcloud-server-c48732987e39518cacddd568180afa410f08cafe.zip
LDAP: permanantly watch group members. Emit post_addToGroup resp. post_removeFromGroup on membership changes, so that Sharing App can take care of files shared within the groups. Requires and relies on background jobs.
Diffstat (limited to 'apps/user_ldap/appinfo/database.xml')
-rw-r--r--apps/user_ldap/appinfo/database.xml33
1 files changed, 33 insertions, 0 deletions
diff --git a/apps/user_ldap/appinfo/database.xml b/apps/user_ldap/appinfo/database.xml
index b228fa2796d..3bbd2b09a49 100644
--- a/apps/user_ldap/appinfo/database.xml
+++ b/apps/user_ldap/appinfo/database.xml
@@ -92,4 +92,37 @@
</table>
+
+ <table>
+
+ <name>*dbprefix*ldap_group_members</name>
+
+ <declaration>
+
+ <field>
+ <name>owncloudname</name>
+ <type>text</type>
+ <notnull>true</notnull>
+ <length>255</length>
+ <default></default>
+ </field>
+
+ <field>
+ <name>owncloudusers</name>
+ <type>clob</type>
+ <notnull>true</notnull>
+ </field>
+
+ <index>
+ <name>ldap_group_members</name>
+ <unique>true</unique>
+ <field>
+ <name>owncloudname</name>
+ </field>
+ </index>
+
+ </declaration>
+
+ </table>
+
</database> \ No newline at end of file