Start a new topic
Answered

How to set private attributes?

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

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

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.


Thanks,

Login or Signup to post a comment