title: Restricting user from performing certain action in model
body: <p>I want user to stop performing certain action given in my model but that should be performed by admin only.</p>
  
  <p>User.rb</p>
  
  <pre><code>def abc
       xxx
       xxx
  end
  
  def xyz
      xxx
      xxx
  end
  </code></pre>
  
  <p>In the user model i want <code>def abc</code> to be performed only by admin and <code>def xyz</code> by both admin and user. Is it possible to do it? I have cancancan gem installed but that doesn't restrict that action from performming for the user. </p>