mirror of
https://github.com/owncloudarchive/contacts.git
synced 2025-02-07 01:54:16 +01:00
Only add your own contacts to groups.
This commit is contained in:
parent
ce4088f7ff
commit
ec7b45129e
@ -1071,7 +1071,7 @@ OC.Contacts = OC.Contacts || {};
|
|||||||
return false;
|
return false;
|
||||||
});
|
});
|
||||||
|
|
||||||
if(this.hasPermission(OC.PERMISSION_UPDATE)) {
|
if(this.getOwner() === OC.currentUser) {
|
||||||
this.$groupSelect = this.$fullelem.find('#contactgroups');
|
this.$groupSelect = this.$fullelem.find('#contactgroups');
|
||||||
buildGroupSelect(groupprops.groups);
|
buildGroupSelect(groupprops.groups);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user