app/controllers/ops_controller/ops_rbac.rb
# Set group record variables to new values
Set group record variables to new values
Set group record variables to new values
def rbac_group_set_record_vars(group)
    role = MiqUserRole.find_by_id(@edit[:new][:role])
    group.description = @edit[:new][:description]
    group.miq_user_role = role
    group.tenant = Tenant.find_by_id(@edit[:new][:group_tenant]) if @edit[:new][:group_tenant]
    rbac_group_set_filters(group)             
  end
def rbac_group_set_record_vars ( group ) role = MiqUserRole . find_by_id ( @edit [ :new ] [ :role ] ) group . description = @edit [ :new ] [ :description ] group . miq_user_role = role group . tenant = Tenant . find_by_id ( @edit [ :new ] [ :group_tenant ] ) if @edit [ :new ] [ :group_tenant ] rbac_group_set_filters ( group ) end
Set group record variables to new values
Set group record variables to new values
# Go set the filters for the group
group
<not_specific>