예제 #1
0
 def is_trader(self):
     return is_specific_role(self.user, 'trader')
예제 #2
0
 def is_member_unit(self):
     return is_specific_role(self.user, 'member_unit')
예제 #3
0
 def is_ISP(self):
     return is_specific_role(self.user, 'ISP')
예제 #4
0
 def is_warehouse_staff(self):
     return is_specific_role(self.user, 'warehouse_staff')
예제 #5
0
 def is_dashboard_admin(self):
     return is_specific_role(self.user, 'dashboard_admin')