permit (principal, action, resource) when { context has path && context has method && (context.method == "GET" || context.method == "HEAD") && (context.path like "*.css" || context.path like "*.js" || context.path like "*.ico" || context.path like "*.png" || context.path like "*.jpg" || context.path like "*.jpeg" || context.path like "*.gif" || context.path like "*.bmp" || context.path like "*.html") };