Added permissions tests for content view def api