return inherited property for permissions

This commit is contained in:
Marcus Efraimsson
2018-04-23 09:23:14 +02:00
parent 6315142d00
commit d86ed679b1
5 changed files with 35 additions and 19 deletions
+1
View File
@@ -69,6 +69,7 @@ type DashboardAclInfoDTO struct {
Slug string `json:"slug"`
IsFolder bool `json:"isFolder"`
Url string `json:"url"`
Inherited bool `json:"inherited"`
}
func (dto *DashboardAclInfoDTO) hasSameRoleAs(other *DashboardAclInfoDTO) bool {