Merge branch '2014.11' into 2015.11
authorPhilipp Schüle <p.schuele@metaways.de>
Tue, 14 Jun 2016 09:11:59 +0000 (11:11 +0200)
committerPhilipp Schüle <p.schuele@metaways.de>
Tue, 14 Jun 2016 09:11:59 +0000 (11:11 +0200)
tine20/Tinebase/js/MainMenu.js

index 6b3ffa2..247c686 100644 (file)
@@ -170,7 +170,7 @@ Tine.Tinebase.MainMenu = Ext.extend(Ext.Toolbar, {
 
         this.action_editProfile = new Ext.Action({
             text: _('Edit Profile'),
-            disabled: false,
+            disabled: ! Tine.Tinebase.common.hasRight('manage_own_profile', 'Tinebase'),
             handler: this.onEditProfile,
             iconCls: 'tinebase-accounttype-user'
         });