I think you should be able todo:

for all available roles:
  is the role enabled for the current item.
  is the role enabled for the parent item.