It would be useful if instead of creating a web service layer on top of a database, I could just set up permissions to entities and entity variables for client connections. This would be beneficial when providing specific raw data where additional business logic is not required. I suppose you could create transient entities for data that does require additional business logic though.
Issue #1572: Add Type level permissions to ObjectDB Server
|Type: Feature Request||Version: 2.5.7||Priority: Normal||Status: Active||Replies: 2|
A possible way to support this feature request is using the user list in the configuration. Currently this configuration supports directory and file (i.e. database) level permissions. It may be possible to add for every user also permission settings of specific entity classes. Each such entity class could be either accessible for READ or for both READ and WRITE.
More ideas and feedback regarding this feature request (also from other ObjectDB users) may help.
ObjectDB - Fast Object Database for Java (JPA/JDO)
Another idea might be to look at it in terms of CRUD as opposed to READ/WRITE.