forked from baron/baron-sso
dev 병합 code check 수정
This commit is contained in:
@@ -365,10 +365,6 @@ func (h *DevHandler) canViewClientByPermit(c *fiber.Ctx, profile *domain.UserPro
|
||||
}
|
||||
}
|
||||
|
||||
if role == domain.RoleUser {
|
||||
return false
|
||||
}
|
||||
|
||||
allowed, err := h.checkProfileKetoPermission(c, profile, "RelyingParty", summary.ID, "view")
|
||||
return err == nil && allowed
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user