connectapi icon indicating copy to clipboard operation
connectapi copied to clipboard

Trying to create groups but search is returning two simular group names

Open anders-wiggers opened this issue 11 months ago • 5 comments

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

anders-wiggers avatar Mar 04 '24 11:03 anders-wiggers

@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?

aronatkins avatar Mar 07 '24 14:03 aronatkins

Ahh interesting! Yeah, that does look like the same problem. I would definitely expect that fix to be transferable.

colearendt avatar Mar 07 '24 14:03 colearendt

This issue is also internal support ticket 101966.

aronatkins avatar Mar 07 '24 14:03 aronatkins

Hey, are there any updates on this issue?

anders-wiggers avatar May 14 '24 10:05 anders-wiggers

None yet, but we're planning some work in this package over the next month or two, and this will be on the list.

nealrichardson avatar May 14 '24 13:05 nealrichardson