hashtagtecktalk
11/24/2023, 5:36 AMdefinition user {
relation department : department
}
definition department{
}
definition item {
relation department: department
}
There is an item from a department example - Drill Machine item from Electrical Department
Need to check if the user is also from the same department.
is there a way to check and compare user and the item?
Note - The department is just one attribute, there could be more attributes on which this comparison would be done in future.