% protocol_readable = can_read_protocol_in_module?(@protocol) %> <% protocol_editable = can_manage_protocol_in_module?(@protocol) %> <% protocol_savable_to_repo = can_read_protocol_in_module?(@protocol) && can_create_protocols_in_repository?(@protocol.team) %>