getHaveRight method

dynamic getHaveRight(
  1. dynamic sRole,
  2. dynamic context
)

Implementation

getHaveRight(sRole, context) {
  myLogAll('getHaveRight');
  Set roleSet = _globalParam[gRole] ?? {};

  return roleSet.contains(sRole);
}