~allenap/maas/xxx-a-thon

« back to all changes in this revision

Viewing changes to src/maasserver/static/js/angular/controllers/node_details.js

  • Committer: LaMont Jones
  • Date: 2016-03-07 23:20:52 UTC
  • mfrom: (4657.1.84 maas)
  • mto: (4657.1.93 maas)
  • mto: This revision was merged to the branch mainline in revision 4660.
  • Revision ID: lamont@canonical.com-20160307232052-rgfxbq7dujj6s093
MergeĀ fromĀ trunk.

Show diffs side-by-side

added added

removed removed

Lines of Context:
654
654
 
655
655
        // Return true when the edit buttons can be clicked.
656
656
        $scope.canEdit = function() {
657
 
            return $scope.isSuperUser();
 
657
            return $scope.isSuperUser() && !$scope.isController;
658
658
        };
659
659
 
660
660
        // Called to edit the node name.