-
Notifications
You must be signed in to change notification settings - Fork 11
add user flags to user-mgmt.php #434
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
base: main
Are you sure you want to change the base?
Conversation
dae430e to
d1434da
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
This PR enhances the user management interface by adding user flag columns to the table, removing the restriction that only qualified users are displayed, and implementing a new column toggle feature that allows users to show/hide columns dynamically.
Key changes:
- Refactored LDAP methods to fetch all users instead of only qualified users
- Added JavaScript functionality to enable column visibility toggling via checkboxes
- Extended the user management table to display user flag data with columns hidden by default
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 6 comments.
| File | Description |
|---|---|
webroot/js/tables.js |
Implements column toggle functionality with checkboxes for tables with the column-toggle class, allowing dynamic show/hide of columns |
webroot/admin/user-mgmt.php |
Adds user flag columns to the table, updates to use new LDAP methods that fetch all users, and applies column-toggle class to enable the new feature |
resources/lib/UnityLDAP.php |
Refactors methods to remove qualified-user-only filtering: renames getQualifiedUsersAttributes to getAllUsersAttributes and getQualifiedUID2PIGIDs to getUID2PIGIDs |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
e691282 to
79286ab
Compare
|
Needs a rework after #456 |
79286ab to
7b61014
Compare
user-mgmt.phpfor each user flag<table>classcolumn-toggle:tables.jswill insert checkboxes for each column to toggle thedisplaystyle for thenth-childof each<tr>using jquery<th>classhidden-by-defaultScreen.Recording.2025-12-23.at.8.30.22.AM.mov