瀏覽代碼

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