Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • fusiondirectory fusiondirectory
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 33
    • Issues 33
    • List
    • Boards
    • Service Desk
    • Milestones
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Container Registry
    • Terraform modules
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • fusiondirectoryfusiondirectory
  • fusiondirectoryfusiondirectory
  • Issues
  • #5162
Closed
Open
Issue created Sep 26, 2016 by bmortier@bmortierMaintainer

allow DSA entries to be part of a group

Here are the changes to be reviewed :

--- ./plugins/admin/groups/class_ogroup.inc.save	2016-09-26 11:42:38.284429999 +0000
+++ ./plugins/admin/groups/class_ogroup.inc	2016-09-26 10:45:30.012429999 +0000
@@ -147,6 +147,7 @@
     'T' => 'terminal',
     'F' => 'phone',
     'P' => 'printer',
+    'D' => 'simpleSecurityObject'
   ); 
--- ./plugins/admin/groups/class_groupManagement.inc.save	2016-09-26 11:43:28.476429999 +0000
+++ ./plugins/admin/groups/class_groupManagement.inc	2016-09-26 11:15:13.520429999 +0000
@@ -139,6 +139,9 @@
     if (class_available('sambaAccount')) {
       $filters[]= array('id'  => 'SAMBA',       'label'  => _('Show samba groups'));
     }
+    if (class_available('simpleSecurityObject')) {
+      $filters[]= array('id'  => 'SIMPLESECURITYOBJECT',       'label'  => _('Show DSA entries'));
+    }
     if (class_available('systemManagement')) {
       $filters = array_merge(
         $filters,
--- ./plugins/admin/groups/group-filter.xml.save	2016-09-26 11:43:11.076429999 +0000
+++ ./plugins/admin/groups/group-filter.xml	2016-09-26 11:00:24.476429999 +0000
@@ -10,7 +10,7 @@
   
     
       LDAP
-      (&(|(&(objectClass=posixGroup)(|$PRIMARY$MAIL$SAMBA))$ROLE(&(objectClass=groupOfNames)(|(gosaGroupObjects=[])$USER$GROUP$APPLICATION$SERVER$WORKSTATION$WINDOWS$TERMINAL$PRINTER$PHONE$UNKNOWN)))$NAME)
+      (&(|(&(objectClass=posixGroup)(|$PRIMARY$MAIL$SAMBA))$ROLE(&(objectClass=groupOfNames)(|(gosaGroupObjects=[])$USER$GROUP$APPLICATION$SERVER$WORKSTATION$WINDOWS$TERMINAL$PRINTER$PHONE$SIMPLESECURITYOBJECT$UNKNOWN)))$NAME)
       dn
       objectClass
       cn
@@ -126,6 +126,14 @@
  
   
     checkbox
+    SIMPLESECURITYOBJECT
+    true
+    
+    (gosaGroupObjects=*D*)
+  
+
+  
+    checkbox
     UNKNOWN
     false
     
--- ./include/select/objectSelect/class_objectSelect.inc.save	2016-09-26 10:22:08.316429999 +0000
+++ ./include/select/objectSelect/class_objectSelect.inc	2016-09-26 10:22:49.444429999 +0000
@@ -23,7 +23,7 @@
 {
   protected $objectTypes = array(
     'user', 'application',  'terminal', 'workstation',
-    'winstation', 'server', 'printer',  'phone'
+    'winstation', 'server', 'printer',  'phone', 'simpleSecurityObject'
   );
   protected $autoFilterAttributes = array('dn', 'cn', 'uid', 'description');
 }

Cheers

(from redmine: issue id 5162, created on 2016-09-26, closed on 2016-09-27)

  • Relations:
    • copied_to #5163
  • Changesets:
    • Revision 1ae89a4c by Côme Chilliet on 2016-09-27T12:22:15.000Z:
Fixes #5162 Added DSA to object types you can put in a group
  • Revision 26efd9ea by Côme Chilliet on 2016-09-27T12:23:05.000Z:
Fixes #5162 Added DSA to object types you can put in a group
Assignee
Assign to
Time tracking