Sha256: 569b5ecea4b55cf0ebbf4bd1f0edfc77153b506b53a56bf2ee4338688bcacf59
Contents?: true
Size: 593 Bytes
Versions: 12
Compression:
Stored size: 593 Bytes
Contents
# app/policies/application_policy # Policies regulate access to your public models # The following policy will open up full access (but only in development) # The policy system is very flexible and powerful. See the documentation # for complete details. class Hyperloop::ApplicationPolicy # Allow any session to connect: always_allow_connection # Send all attributes from all public models regulate_all_broadcasts { |policy| policy.send_all } # Allow all changes to public models allow_change(to: :all, on: [:create, :update, :destroy]) { true } end unless Rails.env.production?
Version data entries
12 entries across 12 versions & 1 rubygems