]> wagnertech.de Git - mfinanz.git/blobdiff - SL/DB/AuthGroup.pm
Rose-Models für Mandantentabellen
[mfinanz.git] / SL / DB / AuthGroup.pm
index fe755c7b501ed3aa4a2afefc3d4b5c2e61b9cb39..3d301775fb6e42a66d29a51ec5f99e88a9f78c16 100644 (file)
@@ -25,6 +25,12 @@ __PACKAGE__->meta->add_relationship(
     class      => 'SL::DB::AuthGroupRight',
     column_map => { id => 'group_id' },
   },
+  clients => {
+    type      => 'many to many',
+    map_class => 'SL::DB::AuthClient',
+    map_from  => 'group',
+    map_to    => 'client',
+  },
 );
 
 __PACKAGE__->meta->initialize;