return inherited property for permissions

(cherry picked from commit d86ed679b1)
This commit is contained in:
Marcus Efraimsson
2018-04-26 14:51:13 +02:00
parent a07f525686
commit 3e93fd1372
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 {