class Pettanr.Operator\r
\r
constructor: (operators) ->\r
+ @init(operators)\r
+ \r
+ init: (operators) ->\r
@operators = operators\r
@user = @operators.user\r
@author = @operators.author\r
return true if @admin\r
false\r
\r
+ is_author: () ->\r
+ return true if @author\r
+ false\r
+ \r
+ is_artist: () ->\r
+ return true if @artist\r
+ false\r
+ \r