Closed psmir closed 6 years ago
In order to prevent unauthorized access to information like scope counts, lists of record ids, etc, Hyperloop now (see issue https://github.com/ruby-hyperloop/hyper-mesh/issues/43) requires you explicitly allow scopes to be viewed on the client, otherwise you will get an AccessViolation.
To globally allow access to all scopes add this to the ApplicationRecord class
class ApplicationRecord < ActiveRecord::Base
regulate_scope :all
end
@fzingg @barriehadfield I assigned this to you, just as a reminder that we have to document the entire scope regulation system.
@catmando thank you
website and gem docs updated
The following code in the render method gives me such an error:
Hyperloop::AccessViolation
This error occures when I try to iterate over posts either: