forked from Gitlink/forgeplus
fix: owner team can change nickname
This commit is contained in:
parent
cb1d77ee6d
commit
30e4ab98db
|
@ -25,7 +25,7 @@ class Organizations::Teams::UpdateService < ApplicationService
|
|||
private
|
||||
def update_params
|
||||
if team.authorize == "owner"
|
||||
update_params = params.slice(:description)
|
||||
update_params = params.slice(:description, :nickname)
|
||||
else
|
||||
update_params = params.slice(:name, :nickname, :description, :authorize, :includes_all_project, :can_create_org_project)
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue