Adds support for anonymous access to endpoints

Uses permissions object in additionalProperties of resource schema to set default permissions for resources.