Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Developers

Welcome to the Zimbra :: Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 02-22-2010, 01:57 PM
Junior Member
 
Posts: 9
Default Hide Admin's "View Mail" button

hello,

i want to hide the "View mail" button on administrator web panel on the Manage Accounts menu. i'm using the open source version.

i've been "searching needle in the hay stack" here: /opt/zimbra/jetty/webapps/zimbraAdmin trying to figure out a way to hide that button.

i'm thinking either disable it from the AJAX script or simply hide it using CSS style, but it seem to not work.

any pointers would be appriciated. thank you
Reply With Quote
  #2 (permalink)  
Old 02-23-2010, 03:19 AM
Moderator
 
Posts: 7,928
Default

Please do not double post as you have asked this question on another thread; if somebody has the answer I am sure they will respond.
__________________
Reply With Quote
  #3 (permalink)  
Old 02-23-2010, 03:21 AM
Junior Member
 
Posts: 9
Default

you can delete the other thread, please keep this one as this is more specific.
Reply With Quote
  #4 (permalink)  
Old 04-20-2010, 04:42 AM
Active Member
 
Posts: 34
Default

Anyone have ideas how to do this in 6.x?
The instructions for 5.x don't work anymore.

My main concern is that this option violates local privacy laws.
So it's kinda important to disable the feature from admins.

Mocking around with source directly helps, but the button is always back after version update.

More permanent solution would be appreciated.
Reply With Quote
  #5 (permalink)  
Old 04-20-2010, 04:55 AM
Junior Member
 
Posts: 9
Default

6.x have totally different source code than 5.x, I still couldn't find a solution on how to disable the view button on 6.x

i don't mind to edit the source code after update, it's not that often anyway, but of course a permanent solution would be nice.
Reply With Quote
  #6 (permalink)  
Old 04-30-2010, 05:31 AM
Zimbra Consultant & Moderator
 
Posts: 20,316
Default

Quote:
Originally Posted by markhard View Post
6.x have totally different source code than 5.x, I still couldn't find a solution on how to disable the view button on 6.x

i don't mind to edit the source code after update, it's not that often anyway, but of course a permanent solution would be nice.
It's not necessary to edit the source code, try using the 'Role Based Delegate Administration' (search bugzilla for that term) function in the Admin UI. I believe this subject has also been covered in the forums.
__________________
Regards


Bill
Reply With Quote
  #7 (permalink)  
Old 04-30-2010, 05:45 AM
Junior Member
 
Posts: 9
Default

Quote:
Originally Posted by phoenix View Post
It's not necessary to edit the source code, try using the 'Role Based Delegate Administration' (search bugzilla for that term) function in the Admin UI. I believe this subject has also been covered in the forums.
'Role Based Delegate Administration' is not available on the open source/community edition which i'm using.
Reply With Quote
  #8 (permalink)  
Old 10-14-2010, 05:11 AM
Trained Alumni
 
Posts: 9
Default

You can do this task by the creation on one delegate administrator (even in open source edition)

#zmprov ma user@domain.com zimbraIsDelegatedAdminAccount TRUE zimbraAdminConsoleUIComponents
cartBlancheUI
#zmprov grr global usr user@domain.com +adminConsoleRights
#zmprov grr global usr user@domain.com -adminLoginAs

Last edited by janiceitit; 10-14-2010 at 05:59 AM..
Reply With Quote
  #9 (permalink)  
Old 08-31-2011, 05:01 PM
Starter Member
 
Posts: 1
Default Error on running zmprov command

I get this error after entering the second command:
———–
./zmprov ma user@domain zimbraIsDelegatedAdminAccount FALSE zimbraAdminConsoleUIComponents cartBlancheUI
./zmprov grr global usr user@domain +adminConsoleRights
ERROR: service.INVALID_REQUEST (invalid request: grantee for admin right or for user right with the can delegate modifier must be a delegated admin account or admin group, it cannot be a global admin account or a regular user account.)
./zmprov grr global usr user@domain -adminLoginAs
ERROR: service.INVALID_REQUEST (invalid request: grantee for admin right or for user right with the can delegate modifier must be a delegated admin account or admin group, it cannot be a global admin account or a regular user account.)
———-

Any comments on how to fix this and to eliminate the “View mail”?

thanks
Reply With Quote
  #10 (permalink)  
Old 09-03-2011, 03:26 AM
Senior Member
 
Posts: 50
Default

Hi markhard,

you can develop an administrative zimlet that hide the button, but this is only a client (javascript code) solution that can be eluded quite easily.
__________________
Cine - Community Manager - ZeXtras
www.zextras.com
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.