title: Add new permission on my Redmine plugin
body: <p>I created a Redmine plugin and I want to add a new permission to it.<br>
  I followed the plugin Tutorial, but even if I'm logged in as admin with full rights I get this error then I try to access my plugin:</p>
  
  <blockquote>
    <p>403 "You are not authorized to access this page."</p>
  </blockquote>
  
  <p>What am I doing wrong ?</p>
  
  <p>Here is my code:</p>
  
  <p><strong>init.rb</strong></p>
  
  <pre><code>Redmine::Plugin.register :redmine_plugin do
        permission :my_permission, :redmine_plugin =&gt; :controller
  end
  </code></pre>
  
  <p><strong>controller.rb</strong></p>
  
  <pre><code>class MyController &lt; ApplicationController
    unloadable
  
    before_filter :authorize
  
    def controller
       ...
    end
  
  end
  </code></pre>