Neco Horne
Neco Horne
Hi @br41nslug The issue is in the permissions checks themselves for the role. I know how to change the limit when using the API  `api/src/services/permissions/index.ts` extends `ItemsService`, which is...
I increased the `QUERY_LIMIT_DEFAULT` to 250 and gives the expected results based on the second rule.
> I am torn between that being intentional or not as loading in 100+ item for each permission check aint great for performance. I thought this might have been an...
> > I increased the QUERY_LIMIT_DEFAULT to 250 and gives the expected results based on the second rule. > > Interesting, maybe that only applies to m2m relations then, fascinating...
Thanks for responding, I think it might need to be mentioned somewhere here [configure-custom-permissions](https://docs.directus.io/user-guide/user-management/permissions.html#configure-custom-permissions) so others don't fall into the same trap, I first thought it was my permissions but...
@br41nslug much appreciated, if you would like to discuss my M2M permissions setup for your other debugging issue I would be happy to send you the schema on discord DM...
Hi @br41nslug The issue is in the permissions checks themselves for the role. I know how to change the limit when using the API  `api/src/services/permissions/index.ts` extends `ItemsService`, which is...
I increased the `QUERY_LIMIT_DEFAULT` to 250 and gives the expected results based on the second rule.
> I am torn between that being intentional or not as loading in 100+ item for each permission check aint great for performance. I thought this might have been an...
> > I increased the QUERY_LIMIT_DEFAULT to 250 and gives the expected results based on the second rule. > > Interesting, maybe that only applies to m2m relations then, fascinating...