OSDN Git Service

t#29033:modify permission fot story creating
authoryasushiito <yas@pen-chan.jp>
Thu, 19 Jul 2012 10:26:32 +0000 (19:26 +0900)
committeryasushiito <yas@pen-chan.jp>
Thu, 19 Jul 2012 10:26:32 +0000 (19:26 +0900)
app/models/panel.rb

index 0b6098b..b84ffc9 100644 (file)
@@ -197,7 +197,7 @@ class Panel < ActiveRecord::Base
   end
   
   def usable? au
-    own? au
+    visible? au
   end
   
   def publish?