lib/osm/api_access.rb in osm-1.2.7 vs lib/osm/api_access.rb in osm-1.2.8
- old
+ new
@@ -40,9 +40,10 @@
data = api.perform_query("users.php?action=getAPIAccess§ionid=#{section_id}")
permissions_map = {
10 => [:read],
20 => [:read, :write],
+ 100 => [:read, :write, :administer]
}
result = Array.new
ids = Array.new
data['apis'].each do |item|
attributes = {}