X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=SL%2FDB%2FAuthGroup.pm;h=3d301775fb6e42a66d29a51ec5f99e88a9f78c16;hb=3ced230d576cb0eff6f8b7805f1682c14e009ef9;hp=fe755c7b501ed3aa4a2afefc3d4b5c2e61b9cb39;hpb=6b935d522a38e1a20802c25ed51a15e0cd292c1d;p=kivitendo-erp.git diff --git a/SL/DB/AuthGroup.pm b/SL/DB/AuthGroup.pm index fe755c7b5..3d301775f 100644 --- a/SL/DB/AuthGroup.pm +++ b/SL/DB/AuthGroup.pm @@ -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;