Dylan v.d Merwe - 189 - Jan 20, 2015

Demis, is there a way currently in ServiceStack’s RequiredRole attribute to check for ANY of the RequiredRoles instead of ALL? We have some services that in order to be accessed you need one or more of the allowed roles. We have implemented our own version of the RequiredRole attribute from the source, but this is not really maintainable in the event that things change in later versions. Any ideas?

Dylan v.d Merwe:

Found it, there is an attribute called RequiresAnyRole. This should be added to the documentation.