title: Dynamic ckeditor toolbar
body: <p>I want to set ckeditor tool bar based on the user type and some condition.</p>
  
  <p>Partialy I done as below:</p>
  
  <pre><code>switch(UserMode)
  {
      case "1":
          config.toolbar_MyTool = [
              ['Find', 'SelectAll'], ['Anchor'], ['Maximize']
          ];
          break;
      case "2":
          config.toolbar_MyTool = [
              ['Find'], ['Anchor'], ['Maximize']
          ];
          break;
  }
  </code></pre>
  
  <p>Code goes long based on the usermode
  so I want to create a array and just I want to assign the toolbar
  like as below:</p>
  
  <pre><code>config.toolbar_MyTool = myToolArray;
  </code></pre>
  
  <p>Also I want to check own post or other person post. If it is own post I want to add some tools additionally.</p>