                                                                                        :end_date "2006-01-01T00:00:00Z"
                                                                                        :mask "disjoint"}}
                                                     :provider_id "PROV1"}})
-        (is (= {"C1200000000-PROV1" ["read"]
-                "C1200000001-PROV1" []
-                "C1200000002-PROV1" ["read"]
-                "C1200000003-PROV1" []}
+        (is (= {coll1 ["read"]
+                coll2 []
+                coll3 ["read"]
+                coll4 []}
                (get-coll-permissions))))
 
       (testing "\"contains\" mask"

                                                    :collection_identifier {:access_value {:min_value 4 :max_value 5}}
                                                    :provider_id "PROV1"}})

        (is (= {"C1200000000-PROV1" []
                "C1200000001-PROV1" ["read"]
                "C1200000002-PROV1" []
                "C1200000003-PROV1" []}
               (get-coll-permissions))))

      (testing "ACL matching only collections with undefined access values"

                                               :provider_id "PROV1"}})

          (are [user permissions]
            (= {coll1 permissions}
               (get-collection-permissions user))
            :guest []
            :registered []
