1
0
mirror of https://github.com/owncloudarchive/contacts.git synced 2025-01-30 19:52:17 +01:00

Only add your own contacts to groups.

This commit is contained in:
Thomas Tanghus 2013-05-22 05:28:47 +02:00
parent ce4088f7ff
commit ec7b45129e

View File

@ -1071,7 +1071,7 @@ OC.Contacts = OC.Contacts || {};
return false;
});
if(this.hasPermission(OC.PERMISSION_UPDATE)) {
if(this.getOwner() === OC.currentUser) {
this.$groupSelect = this.$fullelem.find('#contactgroups');
buildGroupSelect(groupprops.groups);
}