mirror of
https://github.com/yunionio/cloudpods.git
synced 2026-09-24 16:03:43 +08:00
fix(notify): get the receiver corresponding to the role correctly
This commit is contained in:
@@ -86,7 +86,8 @@ type RoleAssignmentsInput struct {
|
||||
Projects []string `json:"projects"`
|
||||
Domains []string `json:"domains"`
|
||||
|
||||
ProjectDomains []string `json:"project_domains"`
|
||||
ProjectDomainId string `json:"project_domain_id"`
|
||||
ProjectDomains []string `json:"project_domains"`
|
||||
|
||||
IncludeNames *bool `json:"include_names"`
|
||||
Effective *bool `json:"effective"`
|
||||
|
||||
@@ -458,7 +458,7 @@ func roleAssignmentHandler(ctx context.Context, w http.ResponseWriter, r *http.R
|
||||
input.Role.Id,
|
||||
input.Scope.Domain.Id,
|
||||
input.Scope.Project.Id,
|
||||
"",
|
||||
input.ProjectDomainId,
|
||||
input.Users,
|
||||
input.Groups,
|
||||
input.Roles,
|
||||
|
||||
Reference in New Issue
Block a user