Version 3.0.1
Breaking changes
Breaking changes may require changes in configuration, apps, or native module code after an ApiOmat upgrade to ensure system stability.
File / Image access authorization |
Since 2.6.0 the access to files and images via the new static data endpoints was restricted depending on the restrictResourceAccess value at the time of the CRUD request, but for consistency with the old static data endpoints restrictResourceAccess should only have an effect at the time of attaching a file/image to an object. Also, getting an attached image depended on the object's roles, but this shouldn't be the case, because the read operation doesn't expose any of the object's data (and also a user could just use the old static data endpoints to fetch the same file/image without the object's roles being checked, making this behavior inconsistent). Both issues were corrected in this release. The change tightens or loosens security depending on the combination of the type of request and restrictResourceAccess usage.
|
|
Remarkable changes
Remarkable changes do not affect system stability after ApiOMat upgrade, but may require changes in configuration, apps, or modules in the next development cycle.
Cron Jobs |
When using the static log methods from within a cron job, the module name that is displayed in the log message won't be Server Code anymore. Instead the name of the actual module, that contains the cron job, will be used. |
Dynamic Roles |
When Dynamic Roles where used (only possible in 3.0.0), the custom role check (a.k.a. overwritten isUserInRoles() method in Native Module) was not called when in another Native Module hook method or auth method the AOM.checkRoles() method was called. Since 3.0.1 this method is called. You're only affected if you implemented your own isUserInRoles() method and assigned the Role Class to a MetaModel, and also used AOM.checkRoles() on that MetaModel / on objects of that MetaModel in your code. |
apiomat.yaml |
The SuperAdminPassword was removed from apiomat.yaml configuration. We recommend to manually delete the super admin password from your current apiomat.yaml. The entry is no longer needed. If you forgot your super admin password you are now able to get a password reset link to your configured super admin e-mail address. Just use the known password reset functionality. |
All changes in the current and previous versions can be found at the root page.
All deprecations and their removal date can be found at Deprecations and Migration.
Changelog
Schlüssel |
Zusammenfassung |
S |
Lösung |
Header with underscore disappears in setup with nginx environment |
Fixed |
||
Fixed |
|||
Fixed |
|||
Scrollbar in datatable connected to scrollbar in reference dialog |
Fixed |
||
Fix error when changing backend having no rights on current stage |
Fixed |
||
Fixed |
|||
Fixed |
|||
Fixed |
|||
Fixed |
|||
Usage of getter/setter methods for dynamicAttributes in native module leads to compileException |
Fixed |
||
Too restrictive customer role checks for Resources and References |
Fixed |
||
Fixed |
|||
[Native Module] Provide getter for list of objects referencing the object itself |
Fixed |
||
Handle restrictResourceAccess correctly when using custom role check method |
Fixed |
||
Fixed |
|||
Fixed |
|||
SuperAdmin password in config must not be necessary for startup |
Fixed |
||
Fixed |
|||
[iOS][Objective-C] Offline-Online does not work with new static methods |
Fixed |
||
[iOS][Swift] Wrong Cache-Data(NetworkElseCache) for Scaled-Image |
Fixed |
||
Fixed |
|||
Fixed |
|||
Authentifizierung um Ihren Vorgang abzurufen |