factorize creation and edition views
This commit is contained in:
@ -63,7 +63,7 @@ namespace Yavsc.Models
|
||||
|
||||
public bool AuthorizeCircle(long circleId)
|
||||
{
|
||||
return ACL.Any( i=>i.CircleId == circleId);
|
||||
return ACL?.Any( i=>i.CircleId == circleId) ?? true;
|
||||
}
|
||||
|
||||
public string GetOwnerId()
|
||||
|
Reference in New Issue
Block a user