connectapi
connectapi copied to clipboard
Trying to create groups but search is returning two simular group names
We have encountered a problem while using the groups_create_remote
method in the ConnectAPI R package to create groups. The issue arises when the method detects two groups with similar prefixes, where one group's name is the prefix of the other. Due to this, we are unable to create the groups using the provided API.
For example, consider the made-up group names ABE
and ABE-TEST
. When we create the group using the groups_create_remote method for ABE
the method fails as ABE
is also the prefix of the ABE-TEST
group.
Previously, the same problem have been flagged in the users_create_remote
method which have been solved in: https://github.com/rstudio/connectapi/issues/135
Thanks
@colearendt - It appears that your modifications to users_create_remote
was not extended to groups_create_remote
. Are they able to be directly ported over?
Ahh interesting! Yeah, that does look like the same problem. I would definitely expect that fix to be transferable.
This issue is also internal support ticket 101966.
Hey, are there any updates on this issue?
None yet, but we're planning some work in this package over the next month or two, and this will be on the list.