Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update user table by removing org information #4453

Open
wants to merge 6 commits into
base: main
Choose a base branch
from

Conversation

cancelei
Copy link
Contributor

… admin users list view

Resolves #4296

Description

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update
  • Documentation update

How Has This Been Tested?

Screenshots

app/views/admin/users/_list.html.erb Outdated Show resolved Hide resolved
<%= f.input :organization_id, label: "Organization", wrapper: :input_group, required: true, autofocus: true do %>
<span class="input-group-text"><%= fa_icon "building" %></span>
<%= f.input_field :organization_id, collection: @organizations, class: "form-control" %>
<% end %>
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The ticket suggested not making changes to New, just Edit.

Copy link
Collaborator

@cielf cielf Jun 17, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is true. I'm trying to find the issue that past CL failed to link to in this issue. (i.e. why it is a separate thing) (it's still in our backlog, but part of a larger being able to add more types of users -- including superadmins).

New doesn't currently have the role and resource part of the form -- removing the organization without other changes will simply break it.

@dorner
Copy link
Collaborator

dorner commented Aug 16, 2024

@cancelei are you still planning to finish this up?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Remove organization from superuser edit/index of users
3 participants