Added default permission classes to rest setting.