Bug#1069061: gosa: cannot create new ACL except ACL type "Current Object"

SASAJIMA, Toshihiro sasajima_t at jp.fujitsu.com
Mon Apr 15 19:19:12 BST 2024


Package: gosa
Version: 2.8~git20230203.10abe45+dfsg-11
Severity: normal
X-Debbugs-Cc: sasajima_t at jp.fujitsu.com

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.


-- System Information:
Debian Release: 12.4
  APT prefers stable
  APT policy: (990, 'stable'), (500, 'oldoldstable-updates'), (500, 'oldoldstable'), (500, 'oldstable'), (110, 'oldoldstable'), (90, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.10.0-1127.13.1.el7.x86_64 (SMP w/2 CPU threads)
Locale: LANG=ja_JP.utf8, LC_CTYPE=ja_JP.utf8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: sysvinit (via /sbin/init)

Versions of packages gosa depends on:
ii  apache2 [httpd]                    2.4.57-2
ii  fonts-liberation                   1:1.07.4-11
ii  gettext                            0.21-12
ii  imagemagick                        8:6.9.11.60+dfsg-1.6
ii  imagemagick-6.q16 [imagemagick]    8:6.9.11.60+dfsg-1.6
ii  libcrypt-smbhash-perl              0.12-4.1
ii  libjs-scriptaculous                1.9.0-3
ii  nullmailer [mail-transport-agent]  1:2.2-4
ii  php                                2:8.2+93
ii  php-cgi                            2:8.2+93
ii  php-curl                           2:8.2+93
ii  php-gd                             2:8.2+93
ii  php-imap                           2:8.2+93
ii  php-ldap                           2:8.2+93
ii  php-mbstring                       2:8.2+93
ii  php-mysql                          2:8.2+93
ii  php-xml                            2:8.2+93
ii  php7.4-cli [php-cli]               7.4.33-1+deb11u4
ii  php7.4-curl [php-curl]             7.4.33-1+deb11u4
ii  php7.4-gd [php-gd]                 7.4.33-1+deb11u4
ii  php7.4-ldap [php-ldap]             7.4.33-1+deb11u4
ii  php7.4-mbstring [php-mbstring]     7.4.33-1+deb11u4
ii  php7.4-xml [php-xml]               7.4.33-1+deb11u4
ii  php8.2 [php]                       8.2.7-1~deb12u1
ii  php8.2-cgi [php-cgi]               8.2.7-1~deb12u1
ii  php8.2-cli [php-cli]               8.2.7-1~deb12u1
ii  php8.2-curl [php-curl]             8.2.7-1~deb12u1
ii  php8.2-gd [php-gd]                 8.2.7-1~deb12u1
ii  php8.2-imap [php-imap]             8.2.7-1~deb12u1
ii  php8.2-ldap [php-ldap]             8.2.7-1~deb12u1
ii  php8.2-mbstring [php-mbstring]     8.2.7-1~deb12u1
ii  php8.2-xml [php-xml]               8.2.7-1~deb12u1
ii  smarty-gettext                     1.7.0-1
ii  smarty4                            4.3.0-1+deb12u1

gosa recommends no packages.

Versions of packages gosa suggests:
pn  cyrus21-imapd  <none>
ii  gosa-schema    2.8~git20230203.10abe45+dfsg-1+deb12u2
pn  php-apc        <none>
pn  php-fpdf       <none>
pn  php-suhosin    <none>
pn  postfix-ldap   <none>
ii  slapd          2.5.13+dfsg-5

-- Configuration Files:
/etc/gosa/gosa-apache.conf changed [not included]

-- no debconf information



More information about the Debian-edu-pkg-team mailing list