title: register permissions october cms
body: <p>I need help with registering permissions for a plugin. My plugin is 'event' and model is 'event'</p>
  
  <p>1 How to define feature name in permission key.</p>
  
  <pre><code>acme.blog.access_categories //I don't know how to define this feature name
  </code></pre>
  
  <p>2 I need to create a permission to prevent some users from creating events in my events plugin in backend.</p>
  
  <p>I have added new permission but it does nothing.
  <a href="https://i.stack.imgur.com/zq4HO.png" rel="nofollow noreferrer">Permission I created</a></p>
  
  <pre><code> public function registerPermissions()
  {
      return [
          'cng.tennis.access_events' =&gt; ['tab' =&gt; 'Events', 'label' =&gt; 'Create events']
      ];
  }
  </code></pre>