-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Option to disabled some UI elements/actions #4478
Comments
Comment by @thomascube on 22 Feb 2014 14:22 UTC Enabling/disabling features and finally UI elements should probably be solved in a general way. So far we encouraged people to write their own skins to modify or remove some features. But I admin this isn't very sustainable and we should seek for a general way to suppress default UI elements. Maybe in a similar way as the |
Milestone changed by @thomascube on 22 Feb 2014 14:22 UTC 1.0-stable => 1.1-beta |
Summary changed by @thomascube on 22 Feb 2014 14:22 UTC
Disable importing messages |
Comment by rosali on 22 Feb 2014 18:18 UTC @ #1- OK. For me it is ok to work with a custom skin. But I don't think it should be the general way. Roundcube's markup language is mighty. Why don't you use config as suggested? @ #2- I just want to make sure that you did not miss this request. IMO it is a real security issue to open backdoors for users to upload stuff. I can't understand that others did not complain. IMO it is a "must to have". A hook to pass uploads to admins further processing (virus scans or whatever) is all I need. You have a hook for attachment uploads and you really should have a hook for messages uploads too. BTW, I have not checked the contacts upload of photos yet... |
Comment by @alecpl on 18 May 2014 07:43 UTC Thomas, we could hide most buttons/menu links by action name in rcmail_output_html::button(). This however would require skin changes for menu actions which are wrapped by |
Comment by @thomascube on 20 Jul 2014 11:14 UTC Replying to alec:
Unfortunately I don't have a solution for this :-( |
Status changed by @alecpl on 4 Aug 2014 17:05 UTC new => closed |
Summary changed by @alecpl on 4 Aug 2014 17:05 UTC
Option to disabled some UI elements/actions |
Reported by rosali on 22 Feb 2014 06:03 UTC as Trac ticket #1489638
#1- General
We have a customer who does not want to allow people to upload/import messages. Due to documentation reasons they only want to have messages in their system which pass the regular messaging process.
This can be achieved by few modifications in the skin and config:
./config/defaults.inc.php (f.e. line 645)
./skins/larry/templates/mail.html (line 145 ff.)
./skins/larry/templates/mail.html (line 229 ff.)
#2- Please implement a hook where admins can perform a virus scan.
./program/steps/mail/import.inc (line 28 ff.)
Keywords: import message messages
Migrated-From: http://trac.roundcube.net/ticket/1489638
The text was updated successfully, but these errors were encountered: