Aam-Digital / ndb-core

Easy-to-use case management web app for NGOs anywhere in the world.
http://www.aam-digital.com
GNU General Public License v3.0
55 stars 18 forks source link

defaultValue placeholder to apply properties of user-linked entity #2416

Open sleidig opened 3 months ago

sleidig commented 3 months ago

To enable use cases like permissions based on the user's "projects" field (#2390) with better usability, we need more powerful dynamic default values. Placeholders should allow not only to set the user entity (i.e. the uuid linked with the user account as "exact_username") but any field of the user's entity (which is accessed via CurrentUserSubject) as a placeholder.