equal
deleted
inserted
replaced
92 super(Logic, self)._onCreate(entity) |
92 super(Logic, self)._onCreate(entity) |
93 |
93 |
94 def canResign(self, entity): |
94 def canResign(self, entity): |
95 """Checks if the current entity is allowed to be resigned. |
95 """Checks if the current entity is allowed to be resigned. |
96 |
96 |
|
97 Args: |
|
98 entity: a Role entity |
|
99 |
97 Returns: |
100 Returns: |
98 - None if the entity is allowed to resign. |
101 - None if the entity is allowed to resign. |
99 - Error message otherwise. |
102 - Error message otherwise. |
100 """ |
103 """ |
101 |
104 |