소스 검색

rails import 功能测试

abiao 5 년 전
부모
커밋
918d131ac1
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      app/models/ability.rb

+ 1 - 0
app/models/ability.rb

@@ -19,6 +19,7 @@ class Ability
       cannot :destroy, :all
       if user.email == AdminUser::SUPER_ADMIN
         can :manage, :all
+        can :import, :all
         # can :export, :all
         # can :read, :all
         # can :destroy, :all