def roles_for_members
      can :create, Post
      can :update, Post, user_id: user.id, status: Post.statuses[:upcoming]
      can :destroy, Post, user_id: user.id, status: Post.statuses[:upcoming]
      basic_read_only
    end
def roles_for_members
      can :create, Post
      can :update, Post, user_id: user.id, status: Post.statuses[:upcoming]
      can :destroy, Post, user_id: user.id, status: Post.statuses[:upcoming]
      basic_read_only
    end
普通会员权限