https://authzed.com logo
Title
a

Andy Song

02/28/2023, 11:48 AM
Hi Guys, I'm having difficulties of modeling IP:Port concept. A simplified version has 3 concepts: user, machine and port. user would be subject and machine:port would be object. Port can be a single number between 0 and 65535, or be a range like 70-80. The relationship would be like: user_a can access machine_x:70-80 user_b can access machine_x:75 I've been scratching my head for a long time but still can't come up with an idea how to express this Port concept in the schema language. Is SpiceDB able to model this?