participant Employee identified by empID {
o String empID
o EmployeeCategory category
}
enum EmployeeCategory{
o Internal
o External
}
asset CompanyAsset identified by assetID{
o String assetID
--> Employee owner
o String status
}
transaction AssignStatus{
--> CompanyAsset assetObject
}
Given above is a section of my module file. Now I want to define a rule in the acl file such that only if the logged in Participant employeeCategory is 'Internal' then allow to create/update the transaction AssignStatus
I was able to do it with the empID field but not for the enum which is what i want.