From f377726f7b3336d323d38dcf986ba8255b296f90 Mon Sep 17 00:00:00 2001 From: Daniel Berteaud Date: Tue, 18 Feb 2014 09:55:28 +0100 Subject: [PATCH] Add the shared 'role' so everything works event if you don't have any group --- .../templates/var/lib/pydio/plugins/auth.serial/roles.ser/10All | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/root/etc/e-smith/templates/var/lib/pydio/plugins/auth.serial/roles.ser/10All b/root/etc/e-smith/templates/var/lib/pydio/plugins/auth.serial/roles.ser/10All index 9d75d4d..989a343 100644 --- a/root/etc/e-smith/templates/var/lib/pydio/plugins/auth.serial/roles.ser/10All +++ b/root/etc/e-smith/templates/var/lib/pydio/plugins/auth.serial/roles.ser/10All @@ -9,7 +9,7 @@ my @s = $a->get_all_by_prop( type => 'share' ); my $data; -foreach my $group ($a->groups){ +foreach my $group ($a->groups, $a->get('shared')){ my $groupname = $group->key; foreach my $share (@s){ my $sharename = $share->key;