lib/pact_broker/policies.rb in pact_broker-2.106.0 vs lib/pact_broker/policies.rb in pact_broker-2.107.0.beta.1
- old
+ new
@@ -5,22 +5,22 @@
def initialize(current_user, resource)
@current_user = current_user
@resource = resource
end
- def update?
+ def read?
true
end
- def delete?
+ def update?
true
end
- def create?
+ def delete?
true
end
- def view?
+ def create?
true
end
private