Force sync a ldap GROUP through command line or API #29727
Labels
4. to release
Ready to be released and/or waiting for tests to finish
enhancement
feature: ldap
feature: occ
pending documentation
This pull request needs an associated documentation update
Milestone
How to use GitHub
Is your feature request related to a problem? Please describe.
Today, an internal workflow allows a user to create a share for a group (groupfolder).
The group creation is done in our LDAP, and once the group created, a script triggers on Nextcloud side the creation of the share.
The existence of the group can be chacked via a occ ldap :search --group myGroup.
The group then exists on Nextcloud side, but isn't populated: we then set permissions on an empty group, users seeing the group only once the group content had been updated by the Cron job.
Describe the solution you'd like
A command
occ ldap: group-update myGroup
(or a group content feeding when aocc ldap :search --group
command if the group wouldn't be referenced) would then make our process "immediate".like
occ ldap:check-group --fetch $GROUPNAME
orocc ldap:check-group --update $GROUPID
Additional content
A similar demand exists to force the sync of a specific LDAP user : #27948
The text was updated successfully, but these errors were encountered: