Skip to content
Snippets Groups Projects
Commit a641e59a authored by Johannes Frenzel's avatar Johannes Frenzel
Browse files

Comparing a string

parent 0bac4d0d
No related tags found
1 merge request!353Remove crc_1280_member permission from group
Pipeline #18505 passed
......@@ -5,7 +5,7 @@ namespace :rdms do
unless group.present?
abort("ERROR: Cannot find group #{args.group_id}")
end
if group.crc_collection_type != group
if group.crc_collection_type != "group"
abort("ERROR: #{args.group_id} is not of type group")
end
puts "Deleting crc_1280_member permission for group #{args.group_id}"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment