Let's say, we have a data collection with attributes (columns) "name", "address", "occupation" and "sex".
How to set "address" to be private while other attributes to be public ?
Thanks.
Best Answer
D
Damien Bell
said
over 5 years ago
Yonghui:
There is no general way to set a specific field as "public" or "private", you can simply choose not to display it in your application. If you need for it to be private, you can write it in a different collection and use ACL's to restrict read access to users within certain user groups.
Thanks,
1 Comment
Damien Bell
said
over 5 years ago
Answer
Yonghui:
There is no general way to set a specific field as "public" or "private", you can simply choose not to display it in your application. If you need for it to be private, you can write it in a different collection and use ACL's to restrict read access to users within certain user groups.
Yonghui Xiao
Let's say, we have a data collection with attributes (columns) "name", "address", "occupation" and "sex".
How to set "address" to be private while other attributes to be public ?
Thanks.
Yonghui:
There is no general way to set a specific field as "public" or "private", you can simply choose not to display it in your application. If you need for it to be private, you can write it in a different collection and use ACL's to restrict read access to users within certain user groups.
Thanks,
Damien Bell
Yonghui:
There is no general way to set a specific field as "public" or "private", you can simply choose not to display it in your application. If you need for it to be private, you can write it in a different collection and use ACL's to restrict read access to users within certain user groups.
Thanks,
-
What is the best way to store and load hierarchies/relationships in the Data Store?
-
How do I create in-app payments using Kinvey?
-
Link users to file uploads
-
question about references and user permissions
-
Data storage limits?
-
Relational Data - Files
-
What defines an Active User?
-
"The app backend is under lockdown"
-
query doesn't show files, can't download.
-
Posting Code to Forum
See all 315 topics