title: Opencart custom module permission
body: <p>I'm writing a module/plugin for opencart, and it would be nice to auto-create the user groups permissions.</p>
  
  <p>Once the module is installed, the user must go into user permission control and manually add the permission. Its a unnecessary step, that would be very nice to jump.</p>
  
  <p>As i'm currently using VqMod to do some changes (like adding extra items to the admin menu), it would be possible to add the route to the ignore route list in permission control class, but i don't think this is a nice option and i prefer to insert the permissions if possible. </p>
  
  <p>I tried to add permissions with the user_group model in my constructor, but adding that to my constructor didn't work. The class is probably not instantiated before permission.</p>
  
  <pre><code>$this-&gt;load-&gt;model('user/user_group');
  
  $this-&gt;model_user_user_group-&gt;addPermission($this-&gt;user-&gt;getId(), 'access', 'test/import');
  $this-&gt;model_user_user_group-&gt;addPermission($this-&gt;user-&gt;getId(), 'modify', 'test/import');
  </code></pre>