factorize creation and edition views
This commit is contained in:
parent
968c790e84
commit
fccf8fe310
2 changed files with 9 additions and 5 deletions
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue