-
Notifications
You must be signed in to change notification settings - Fork 2k
feat(admin_manual/occ_command): add user:welcome
and user:sync-account-data
#12926
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
Open
ShGKme
wants to merge
5
commits into
master
Choose a base branch
from
feat/admin_manual--occ-user
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+27
−2
Open
Changes from all commits
Commits
Show all changes
5 commits
Select commit
Hold shift + click to select a range
3826a31
fix(admin_manual/occ_command): remove duplicating `user:keys:verify`
ShGKme adb9b42
feat(admin_manual/occ_command): add `user:sync-account-data`
ShGKme ffd5cd0
feat(admin_manual/occ_command): add `user:welcome`
ShGKme e1fe5c8
fixup! feat(admin_manual/occ_command): add `user:sync-account-data`
ShGKme 99becca
Update admin_manual/occ_command.rst
rakekniven File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -1420,8 +1420,8 @@ report showing how many users you have, and when a user was last logged in:: | |
user:report shows how many users have access | ||
user:resetpassword Resets the password of the named user | ||
user:setting Read and modify user settings | ||
user:keys:verify Verify that the stored public key matches | ||
the stored private key | ||
user:sync-account-data Sync user backend data to accounts table for configured users | ||
user:welcome Sends the welcome email | ||
|
||
|
||
user:add | ||
|
@@ -1591,6 +1591,31 @@ user:list | |
|
||
You can use the command ``user:list`` to list users. By default it will limit the output to 500 users but you can override that with options ``--limit`` and ``--offset``. Use ``--disabled`` to only list disabled users. | ||
|
||
user:sync-account-data | ||
^^^^^^^^^^^^^^^^^^^^^^ | ||
|
||
Usually, the account data in the Nextcloud instance database (``oc_accounts``) is updated once a change on another user backend (for example, SAML) is detected. | ||
However, in case of an error, the state between the user backend and the ``oc_accounts`` table might become inconsistent. | ||
|
||
You can manually sync user backend data to accounts table with the ``user:sync-account-data`` command:: | ||
|
||
user:sync-account-data [-l|--limit=500] [-o|--offset=0] | ||
|
||
user:welcome | ||
^^^^^^^^^^^^ | ||
|
||
When you need to manually send the welcome email (for example, if the user was added via LDAP but hasn't logged in yet), you can use the ``user:welcome`` command. The syntax is:: | ||
|
||
user:welcome [-r|--reset-password] <user> | ||
|
||
For example:: | ||
|
||
user:welcome [email protected] | ||
|
||
Or, if it should contain the reset password link:: | ||
|
||
user:welcome --reset-password [email protected] | ||
|
||
.. _group_commands_label: | ||
|
||
Group commands | ||
|
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.
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.
nit:
Is it
.ltd
(Limited?) or.tld
(Top Level Domain)?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.
Top Level Domain