Authorization

Aether makes use of RedwoodJS' @requireAuth directive to facilitate authorizing access to an application's services. The directive expects three arguments, with two having defaults values which a majority of implementations are expected to make use of.

NameDescriptionDefault
organizationAssert the user either does or does not have an organization.true
rolesCheck whether or not a user has the given role(s).-
subscribedAssert the user either does or does not have an active subscription.true