* Describe the bug
when we call an update api and we don’t have scope access, it doesn’t throw an error. This is a silent error and can cause user to think that they have updated the record when in fact they haven’t.
* Environment
- NocoBase version: 2.1.25
- Database type and version: PostgreSQL 17
- OS: Ubuntu
- Deployment Methods: Docker
- Docker image version: nocobase/nocobase:latest
- NodeJS version:
* How To Reproduce
for example, the admin role can only edit the user if their email is of gmail.com domain. when they try to edit a user that doesn’t pass this scope either via the table’s quick edit or by calling an api, no error will be thrown.
Expected behavior
it should’ve thrown an error instead of returning an empty array
