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:
parent
ce4088f7ff
commit
ec7b45129e
@ -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);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user