Replies: 2 comments 1 reply
-
There is no base support in Elide for something like this. It also feels like a narrow use case so I'm not sure we would add support for it. Usually, there is a database with a predefined set of roles and users can be added or removed from roles and permissions. Model security is static and users are simply given or revoked permissions via the database. Dynamic model security would require either:
|
Beta Was this translation helpful? Give feedback.
-
Elide's type system is very similar to the Java reflection API. Here is the root of all Elide types: All Java classes are wrapped in the following subclass that uses reflection to implement the Type interface: Elide analytic models can be defined either with Java classes OR HJSON configuration files. To implement, the latter, we created a different subclass of To leverage custom types, you must implement your own DataStore to register them with Elide. Your types could subclass |
Beta Was this translation helpful? Give feedback.
-
We have a use-case in which Admin user should be able to configure permissions (read/update/delete) in non-programming way.
To implement that requirement, one of steps is to fetch permission expressions from DB and construct permission strings. Is there any way to do that?
Beta Was this translation helpful? Give feedback.
All reactions