GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | ||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | ||
GeezerVison is showing github.com — Sync client accounts with the LDAP directory by veenone · Pull Request #1812 · projectsend/projectsend Conversation
Contributor
I made this implementation back in v1 r1945, now I want to propose this feature in v2 Background Preview first, then sync. What a sync does
Safety
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactions
Collaborator
All reactions
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page.
Contributor
Author
All reactions
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page.
veenone
force-pushed
the
feat/ldap-user-sync
branch
from
6c5a488 to
13bbe35
Compare
veenone
force-pushed
the
feat/ldap-user-sync
branch
from
13bbe35 to
2a5e664
Compare
Directory people only got an account the first time they signed in, and nothing changed when they left. Settings > LDAP gets a Sync tab, and projectsend:ldap-sync does the same from the command line. A sync applies the sign-in rules to everyone the directory lists. People without an account get a client account, but only while accounts are created on first sign-in. Directory clients get their name and DN refreshed. Staff, local clients and addresses held by a deleted account are left alone. Accounts are created quietly, with one activity log entry for the run instead of an email per account. Directory clients who are no longer listed are counted, and deactivated only when that option is on. A listing that comes back empty or cannot be read never deactivates anyone. Large directories are read in pages, and the run is split into queued chunks. A daily run can be switched on. A preview lists everyone the directory returns and what would happen to them, with the reason when someone is skipped. The counts are filter tabs over the table, which can be searched and downloaded as CSV. Sync now lives under that list and asks for confirmation, quoting the preview's numbers. The server only accepts a sync shortly after a preview of the settings as saved. A new option restores clients an administrator deleted, as they were, while they still wait to be erased. People who deleted their own account stay deleted, and staff are never restored. The tab follows the WAI-ARIA tabs pattern. Focus lands where results appear, disabled actions say why, and state changes are announced. Badges and warnings keep 4.5:1 contrast. A preview that would deactivate a large share of the directory's clients warns that the filter is the likelier cause. Sync now carries out the plan its preview showed rather than reading the directory again. Anyone whose account changed in between is skipped. Which deleted clients come back is ticked row by row in the preview; the restore option only decides whether they start ticked. The daily run and the command line have no preview, so they stop without changing anything if they would deactivate more than a fifth of the directory's clients. A running sync can be stopped between two entries, and the clients a sync deactivated can be reactivated in one step. The preview table shows ten people a page. Every new string on the Sync tab, in its audit entries and in its messages, in all sixteen locales.
veenone
force-pushed
the
feat/ldap-user-sync
branch
from
2a5e664 to
8ffd882
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
ReviewersNo reviewsUh oh!
There was an error while loading. Please reload this page. AssigneesNo one assignedLabels
None yet
ProjectsMilestoneNo milestoneDevelopmentSuccessfully merging this pull request may close these issues. Uh oh!
There was an error while loading. Please reload this page. Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later. | ||
| You are visitor 01402792 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |