LIKE CODING: MJ [10] CanView Design
Design a system to meet the following requirements:boolean CanView(Viewer, Object, Owner);
Return true if viewer can read object of owner; otherwise return false.
object has one property which can be public or friends. If it is public, viewer can read object; if it is friends, only friend of owner can read object.
Read full article from LIKE CODING: MJ [10] CanView Design
No comments:
Post a Comment