@model Disco.Web.Models.Device.ShowModel @{ Authorization.Require(Claims.Device.ShowComments); var canAddComments = Authorization.Has(Claims.Device.Actions.AddComments); var canRemoveAnyComments = Authorization.Has(Claims.Device.Actions.RemoveAnyComments); var canRemoveOwnComments = Authorization.Has(Claims.Device.Actions.RemoveOwnComments); }