OwnedByDefaultUser
blendsoft opened this issue · 3 comments
blendsoft commented
Could you add method for checking if model if owned by currently authorized user ?
antonkomarev commented
This feature will be available in v4:
$comment->isOwnedByDefaultOwner();
Not using word User
in method name because resolve logic could be overwritten in application and it will return custom type of owner model.
antonkomarev commented
Will be published with PR #14
antonkomarev commented
Released in v4.0. Upgrade to it will require to update classes and contracts namespaces.