diff options
author | Frederic Guillot <fred@kanboard.net> | 2016-02-16 22:06:53 -0500 |
---|---|---|
committer | Frederic Guillot <fred@kanboard.net> | 2016-02-16 22:06:53 -0500 |
commit | 924949850322144036e281bf94fb8b88c42bbd74 (patch) | |
tree | 5e57db68f507849bb8c7a92574fbe6a3f319c009 /app/ServiceProvider | |
parent | 4961805e0f8a8c3630ace144450fdd97048b3929 (diff) |
Add file preview for Markdown and text files
Diffstat (limited to 'app/ServiceProvider')
-rw-r--r-- | app/ServiceProvider/AuthenticationProvider.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/ServiceProvider/AuthenticationProvider.php b/app/ServiceProvider/AuthenticationProvider.php index cc7b9302..700fe05b 100644 --- a/app/ServiceProvider/AuthenticationProvider.php +++ b/app/ServiceProvider/AuthenticationProvider.php @@ -81,6 +81,7 @@ class AuthenticationProvider implements ServiceProviderInterface $acl->add('Project', array('share', 'integrations', 'notifications', 'duplicate', 'disable', 'enable', 'remove'), Role::PROJECT_MANAGER); $acl->add('ProjectPermission', '*', Role::PROJECT_MANAGER); $acl->add('ProjectEdit', '*', Role::PROJECT_MANAGER); + $acl->add('ProjectFile', '*', Role::PROJECT_MEMBER); $acl->add('Projectuser', '*', Role::PROJECT_MANAGER); $acl->add('Subtask', '*', Role::PROJECT_MEMBER); $acl->add('SubtaskRestriction', '*', Role::PROJECT_MEMBER); |