module Unimatrix::Authorization

  class Policy < Base
    field     :id
    field     :created_at
    field     :updated_at

    field     :resource
    field     :realm_uuid
    field     :actions

    has_one   :resources
    has_one   :resource_servers
  end

end

module Unimatrix::Authorization

  class Policy < Base
    field     :id
    field     :created_at
    field     :updated_at

    field     :resource
    field     :realm_uuid
    field     :actions
    field     :type_name

    has_one   :resources
    has_one   :resource_servers
  end

end

Add type_name field to Policy resource
Add type_name field to Policy resource
