a5803a3807d84ec6e824e8ddc77617ea7b0b8957,dino/validation/request.py,RequestValidator,_can_be_invisible,#RequestValidator#Any#,419
Before Change
return True, None, None
def _can_be_invisible(self, user_id: str):
if utils.is_super_user(user_id):
return True
return False
After Change
return True, None, None
def _can_be_invisible(self, user_id: str):
if utils.is_super_user(user_id) or utils.is_global_moderator(user_id):
return True
return False
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 4
Instances
Project Name: thenetcircle/dino
Commit Name: a5803a3807d84ec6e824e8ddc77617ea7b0b8957
Time: 2017-05-11
Author: oscar.eriks@gmail.com
File Name: dino/validation/request.py
Class Name: RequestValidator
Method Name: _can_be_invisible
Project Name: thenetcircle/dino
Commit Name: 1860f7e6cdd33b159e77b5371c8062b7e6219f28
Time: 2017-08-23
Author: oscar.eriks@gmail.com
File Name: dino/utils/__init__.py
Class Name:
Method Name: activity_for_users_in_room
Project Name: thenetcircle/dino
Commit Name: 15e5abb0f2c62a88b4250b33aa0193ce00ec0e3e
Time: 2017-05-23
Author: oscar.eriks@gmail.com
File Name: dino/db/rdbms/handler.py
Class Name: DatabaseRdbms
Method Name: users_in_room