Merge branch '2014.11' into 2015.11
[tine20] / 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'
         });