lib/documentation/authorizer.rb in documentation-1.0.1 vs lib/documentation/authorizer.rb in documentation-1.0.2
- old
+ new
@@ -23,10 +23,18 @@
def can_edit_page?(page)
true
end
+ def can_upload?(page)
+ true
+ end
+
def can_search?
+ true
+ end
+
+ def can_use_ui?
true
end
def check!(action, object = :none)
action_method_name = "can_#{action}?"
\ No newline at end of file