def has_permission(self, request, view): return perm_obj( request, AdminPermission.OBJ_READ_OPERATION, AdminPermission.OBJ_TYPE_VLAN, *args, **kwargs )
def has_permission(self, request, view): return perm_obj( request, AdminPermission.OBJ_DELETE_OPERATION, AdminPermission.OBJ_TYPE_POOL, *args, **kwargs )
def has_permission(self, request, view): return perm_obj( request, AdminPermission.OBJ_WRITE_OPERATION, AdminPermission.OBJ_TYPE_PEER_GROUP, *args, **kwargs )
def has_permission(self, request, view): return perm_obj( request, AdminPermission.OBJ_UPDATE_CONFIG_OPERATION, AdminPermission.OBJ_TYPE_VIP, *args, **kwargs )
def has_permission(self, request, view): return perm_obj(request, AdminPermission.OBJ_READ_OPERATION, AdminPermission.OBJ_TYPE_POOL, *args, **kwargs)
def has_permission(self, request, view): return perm_obj(request, AdminPermission.OBJ_DELETE_OPERATION, AdminPermission.OBJ_TYPE_VIP, *args, **kwargs)
def has_permission(self, request, view): return perm_obj(request, AdminPermission.OBJ_WRITE_OPERATION, AdminPermission.OBJ_TYPE_PEER_GROUP, *args, **kwargs)
def has_permission(self, request, view): return perm_obj(request, AdminPermission.OBJ_UPDATE_CONFIG_OPERATION, AdminPermission.OBJ_TYPE_VLAN, *args, **kwargs)