示例#1
0
 def remove_role(self, role_code_or_desc):
     r = role(role_code_or_desc)
     self._roles.remove(r)
示例#2
0
 def add_role(self, role_code_or_desc):
     r = role(role_code_or_desc)
     self._roles.add(r)