```ruby
# CanCan Abilities
#
# See the wiki for details:
# https://github.com/ryanb/cancan/wiki/Defining-Abilities

class Ability
  include CanCan::Ability

  def initialize(user = User.new)
    can :manage, User, id: user.id
    can :manage, Authentication, user_id: user.id

    if user.is_curator? && defined? RailsAdmin

    end

    if user.is_admin? && defined? RailsAdmin
      # Allow everything
      can :manage, :all

      # RailsAdmin
      # https://github.com/sferik/rails_admin/wiki/CanCan
      # can :access, :rails_admin
      # can :dashboard

      # RailsAdmin checks for `collection` scoped actions:
      # can :index, Model             # included in :read
      # can :new, Model               # included in :create
      # can :export, Model
      # can :history, Model           # for HistoryIndex
      # can :destroy, Model           # for BulkDelete

      # RailsAdmin checks for `member` scoped actions:
      # can :show, Model, object      # included in :read
      # can :edit, Model, object      # included in :update
      # can :destroy, Model, object   # for Delete
      # can :history, Model, object   # for HistoryShow
      # can :show_in_app, Model, object
    end
  end
end
```

Create the responsibility for the curation
user
```ruby
# CanCan Abilities
#
# See the wiki for details:
# https://github.com/ryanb/cancan/wiki/Defining-Abilities

class Ability
  include CanCan::Ability

  def initialize(user = User.new)
    can :manage, User, id: user.id
    can :manage, Authentication, user_id: user.id

    if user.is_curator?
      can :manage, Curation
      can :manage, CurationPosts
    end

    if user.is_admin? && defined? RailsAdmin
      # Allow everything
      can :manage, :all

      # RailsAdmin
      # https://github.com/sferik/rails_admin/wiki/CanCan
      # can :access, :rails_admin
      # can :dashboard

      # RailsAdmin checks for `collection` scoped actions:
      # can :index, Model             # included in :read
      # can :new, Model               # included in :create
      # can :export, Model
      # can :history, Model           # for HistoryIndex
      # can :destroy, Model           # for BulkDelete

      # RailsAdmin checks for `member` scoped actions:
      # can :show, Model, object      # included in :read
      # can :edit, Model, object      # included in :update
      # can :destroy, Model, object   # for Delete
      # can :history, Model, object   # for HistoryShow
      # can :show_in_app, Model, object
    end
  end
end
```
assistant