Open Swader opened 8 years ago
Maybe inherit only when @auth-inherit is present?
That's definitely an option.
The question now is what people consider to be the default state - inherit by default, or don't? In other words, do users explicitly disable, or enable inheritance?
Well, I guess it's a matter of preference. I would go with:
Sounds good. I'll mull it over and get some more opinions in, but in general that's what I'd go with, too.
Given a class with the docblock:
and its method with the docblock:
should Rauth see the method's docblock as it is, or inherited and extended by the class, like so?
In other words, should method auth tags inherit and overwrite class tags, or should a method's auth directives be isolated?