Dear Maintainer,
When I create a new ACL on any objects, GOsa will show following ACL types:
* Complete subtree
* Complete subtree (permanent)
* Current object
* One level
* Reset ACLs
* Use ACLs defined in role
.
By default, "Current object" is set.
However, if I choose another ACL type (e.g. Complete subtree),
GOsa resets my choice to the default.
This bug caused following code:
========
--- /usr/share/gosa/include/class_acl.inc.debian 2024-04-16 02:27:39.747593228 +0900
+++ /usr/share/gosa/include/class_acl.inc.orig 2024-04-16 02:45:22.783564170 +0900
@@ -494,7 +494,7 @@
if($this->acl_is_writeable("")){
foreach (array("aclType","aclFilter", "aclObject", "target") as $key){
if (isset($_POST[$key])){
- $this->key= get_post($key);
+ $this->$key= get_post($key);
}
}
}
========
There is not this bug in original Github code.