garden20 / dashboard

Provides a welcome page, a top menu bar, and app installation and management for Garden apps.
4 stars 7 forks source link

user_data namespace on user doc #47

Closed mandric closed 11 years ago

mandric commented 11 years ago

Right now if more than one app uses the same property name in user_data section of kanso.json then they will conflict. Maybe consider using the database name of app as parent of all those user_data settings so more than one app can modify user doc without stepping on toes?

ryanramage commented 11 years ago

If the property user_data.db_prefix is set to true, it will help. I was thinking this for things like email and phone numbers which probably would be the same across apps.

see here: https://github.com/medic/kujua-lite/blob/develop/kanso.json#L71

can be set to true, and that will make for no toe stepping.

mandric commented 11 years ago

Aha!