Skip to content
This repository was archived by the owner on Jul 12, 2023. It is now read-only.

Conversation

whaught
Copy link
Contributor

@whaught whaught commented Nov 5, 2020

Issue #975

Proposed Changes

  • Allows the user search to toggle between all users and system admins

Release Note

Toggle for user search for all/system-admin

@googlebot googlebot added the cla: yes Auto: added by CLA bot when all committers have signed a CLA. label Nov 5, 2020
Order("LOWER(name) ASC")

if systemAdminOnly {
query = query.Where("system_admin IS TRUE")
Copy link
Contributor

Choose a reason for hiding this comment

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

does this work?

will have system_admin IS FALSE followed by sytem_admin is true

better to make systemAdminOnly a param to the query?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Sorry I think that was a merge conflict with: #985

@google-oss-robot
Copy link

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: mikehelmick, whaught

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:
  • OWNERS [mikehelmick,whaught]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@google-oss-robot google-oss-robot merged commit ef1fe2f into google:main Nov 6, 2020
@whaught whaught deleted the filteradmins branch November 6, 2020 02:27
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 7, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
cla: yes Auto: added by CLA bot when all committers have signed a CLA.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants