setHaveRight method
dynamic
setHaveRight(
- dynamic actionData,
- dynamic context
Implementation
setHaveRight(actionData, context) {
myLogAll('setHaveRight');
List roleList = List.of(actionData);
Set roleSet = {};
for (int i = 0; i < roleList.length; i++) {
roleSet.add(roleList[i]);
}
setGlobalParam([gRole], [roleSet]);
}