summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: e70815f)
raw | patch | inline | side by side (parent: e70815f)
author | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 22 Jan 2010 16:06:46 +0000 (16:06 +0000) | ||
committer | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 22 Jan 2010 16:06:46 +0000 (16:06 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@15269 594d385d-05f5-0310-b6e9-bd551577e9d8
diff --git a/gosa-core/include/class_sortableListing.inc b/gosa-core/include/class_sortableListing.inc
index 7d12f4878cbea635510366f2966057b571777804..b0539c2029bdd44afafb947aade2339d0eff0466 100644 (file)
$this->sortData();
}
}
+ }
+
+
+ public function save_object()
+ {
+ // Do not do anything if this is not our PID, or there's even no PID available...
+ if(!isset($_REQUEST['PID']) || $_REQUEST['PID'] != $this->id) {
+ return;
+ }
// Do not do anything if we're not posted - or have no permission
if (strpos($this->acl, 'w') !== false && isset($_POST['reorder_'.$this->id])){
diff --git a/gosa-core/plugins/personal/generic/class_user.inc b/gosa-core/plugins/personal/generic/class_user.inc
index 36dbd589a3fc2250de948ffaf371b1e0337c6b1a..062bccb0441ee89130d6cd9d6df700237c9ddf5a 100644 (file)
/* Set list ACL */
$this->gosaLoginRestrictionWidget->setAcl($this->getacl('gosaLoginRestriction', (!is_object($this->parent) && !session::is_set('edit'))));
+ $this->gosaLoginRestrictionWidget->update();
/* Handle add/delete for restriction mode */
if (isset($_POST['add_res']) && isset($_POST['res'])) {
plugin::save_object ();
/* Sync lists */
- $this->gosaLoginRestrictionWidget->update();
+ $this->gosaLoginRestrictionWidget->save_object();
if ($this->gosaLoginRestrictionWidget->isModified()) {
$this->gosaLoginRestriction= $this->gosaLoginRestrictionWidget->getMaintainedData();
}
diff --git a/gosa-core/plugins/personal/posix/class_posixAccount.inc b/gosa-core/plugins/personal/posix/class_posixAccount.inc
index a3dbf1f1d1b7e8bc0dfff1122392f40ab80af9d7..015c1af48773cc0f99c459d4181dcb69b7ddd763 100644 (file)
/* Assign list acl */
$this->groupMembershipList->setAcl($this->getacl('memberUid', (!is_object($this->parent) && !session::is_set('edit'))));
+ $this->groupMembershipList->update();
/* Log view */
if($this->is_account && !$this->view_logged){
plugin::save_object();
/* Maintain list */
- $this->groupMembershipList->update();
+ $this->groupMembershipList->save_object();
/* Save force GID checkbox */
if($this->acl_is_writeable("gidNumber") || $this->acl_is_writeable("uidNumber")){