Fix: Align get many methods with DB authorisation changes.

This commit is contained in:
2026-03-28 11:51:27 +00:00
parent 7da5d49bc1
commit c50463a1cd
11 changed files with 496 additions and 32 deletions

View File

@@ -155,6 +155,9 @@ class Parameters_MTG_Game_Player(Get_Many_Parameters_Base):
get_all_game: bool
get_inactive_game: bool
game_ids: str
get_all_user: bool
get_inactive_user: bool
user_ids: str
require_all_id_filters_met: bool
require_any_id_filters_met: bool
@@ -165,6 +168,9 @@ class Parameters_MTG_Game_Player(Get_Many_Parameters_Base):
, get_all_game = True
, get_inactive_game = False
, game_ids = ''
, get_all_user = True
, get_inactive_user = False
, user_ids = ''
, require_all_id_filters_met = True
, require_any_id_filters_met = True
)
@@ -176,6 +182,9 @@ class Parameters_MTG_Game_Player(Get_Many_Parameters_Base):
, get_all_game = json.get('a_get_all_game', False)
, get_inactive_game = json.get('a_get_inactive_game', False)
, game_ids = json.get('a_game_ids', '')
, get_all_user = json.get('a_get_all_user', False)
, get_inactive_user = json.get('a_get_inactive_user', False)
, user_ids = json.get('a_user_ids', '')
, require_all_id_filters_met = json.get('a_require_all_id_filters_met', True)
, require_any_id_filters_met = json.get('a_require_any_id_filters_met', True)
)
@@ -186,6 +195,9 @@ class Parameters_MTG_Game_Player(Get_Many_Parameters_Base):
, 'a_get_all_game': self.get_all_game
, 'a_get_inactive_game': self.get_inactive_game
, 'a_game_ids': self.game_ids
, 'a_get_all_user': self.get_all_user
, 'a_get_inactive_user': self.get_inactive_user
, 'a_user_ids': self.user_ids
, 'a_require_all_id_filters_met': self.require_all_id_filters_met
, 'a_require_any_id_filters_met': self.require_any_id_filters_met
}
@@ -197,6 +209,9 @@ class Parameters_MTG_Game_Player(Get_Many_Parameters_Base):
, 'a_get_all_game': Boolean
, 'a_get_inactive_game': Boolean
, 'a_game_ids': Text
, 'a_get_all_user': Boolean
, 'a_get_inactive_user': Boolean
, 'a_user_ids': Text
, 'a_require_all_id_filters_met': Boolean
, 'a_require_any_id_filters_met': Boolean
}