Does the new OpenAPI integration takes a look at permissions from SetEntitySetPermissions? I have tried to set
LXDataModule.SetEntitySetPermissions('User', []);
SparkleServer.AddModule(LXDataModule);
RegisterOpenAPIService;
Does the new OpenAPI integration takes a look at permissions from SetEntitySetPermissions? I have tried to set
LXDataModule.SetEntitySetPermissions('User', []);
SparkleServer.AddModule(LXDataModule);
RegisterOpenAPIService;
Currently not, it's being ignored. Because conceptually it only gets information from the XData model itself, and entity set permissions are part of a specific TXDataModule.
Thank you for the quick reply. Would be great indeed if the XDataModule settings would be taken into account.
It is, now:
https://download.tmssoftware.com/business/xdata/doc/web/whats_new.html
Improved: Swagger documents now take entity set permissions into account, omitting Aurelius CRUD endpoints which are not available due to the entity set permissions configuration.
This topic was automatically closed 60 minutes after the last reply. New replies are no longer allowed.