From 74bd399b4e44d3681e3718701786a1096521b22f Mon Sep 17 00:00:00 2001 From: Daniel Berteaud Date: Tue, 4 Feb 2014 17:52:48 +0100 Subject: [PATCH] Grant access to the dashboard for every user --- root/etc/e-smith/events/actions/pydio-user-rights | 3 +++ 1 file changed, 3 insertions(+) diff --git a/root/etc/e-smith/events/actions/pydio-user-rights b/root/etc/e-smith/events/actions/pydio-user-rights index 9ce364d..7117363 100644 --- a/root/etc/e-smith/events/actions/pydio-user-rights +++ b/root/etc/e-smith/events/actions/pydio-user-rights @@ -93,6 +93,9 @@ foreach my $user (($a->users),$a->get('admin')){ if ($homedir eq 'enabled' || ($homedir eq 'users' && (($user->prop('PydioHomeDir') || 'disabled') eq 'enabled'))){ $data->{"\0*\0acls"}->{'home'} = 'r'; } + # ACL for special workspaces + $data->{"\0*\0acls"}->{'ajxp_user'} = 'rw'; + # As we're here, lets update the email address and the display name # First, delete parameter if it's an array (meaning it's empty) delete $data->{"\0*\0parameters"} if (ref ($data->{"\0*\0parameters"})=~ m/ARRAY/i);