Back to problems

Find Camera Admin User

Algorithm · Verkada · Medium

An organization manages its security cameras with a permissions dataset. Each record is a three-element tuple, (entityId, relationship, objectId), that connects two entities. Four relationship types are possible: (user, "cameraOwner", camera): the user is the camera's direct owner. (user, "groupMember", group): the user is a member of the group. (group, "cameraOwner", camera): the group owns the camera, making it available to users who belong to that group either directly or…

Checking your access…