Hi, I searched my issue and looked at the discussion at https://developer.milestonesys.com/s/question/0D53X0000DMO0f2SQD/permissions-needed-to-call-apirestv1cameragroups?t=1727070586392, which suggests that the XProtect 2024 R1 has resolved this issue.
However, I still cannot get the camera groups from the api/rest/v1/cameraGroups endpoint when the Basic user is not added to the Administrator group, I have granted Full cameras permission for my Basic user and am able to get all cameras from the api.
Could you please help?
Please double check; does the user you have tested with have permission to cameras?
You should only get the camera groups that contains cameras you have the permission to see, you should not get cameragroups that do not contain any camera you have permission for.
Yes, I have granted the Full control permission to my custom role which is associated with to my user. It can get all cameras info but not the cameraGroups. Please see screenshot attached.
GIF
I our testing in the Milestone test labs it works. We cannot reproduce.
Could you try with /cameraGroups?includeChildren=cameraGroups ?
Please double check that the user belongs to a role, that the role has permission to the cameras (at least one) in the group.