From 84453cad61c0c922d719f7c6675e9fa46961f05e Mon Sep 17 00:00:00 2001 From: SapphicFire Date: Thu, 19 Oct 2023 03:49:40 -0700 Subject: [PATCH] feat: Implemented a SRAPI to generate API Point records, secured by role and ACL feat: Added new SI for API support, staring with support for name/ID as input feat: Added support for multiple points in an API request fix: Added a semicolon on a line in PointsThing because the linter warning bothered me --- 9c7718cddb229150791d8f8d13961979/checksum.txt | 2 +- .../x_snc_pointsthing_api_point.xml | 3 +- ...ary_x_snc_pointsthing_api_point_points.xml | 74 +++++++++ ..._x_snc_pointsthing_api_point_points_en.xml | 26 ++++ ...ilege_d9fa50e847c6f9104fb86285d36d4381.xml | 22 +++ ...cript_f87e78e347f9b5104fb86285d36d4301.xml | 64 ++++++++ ...clude_88dd9085db629150791d8f8d13961998.xml | 8 +- ...clude_d0f545ef47f9b5104fb86285d36d432a.xml | 83 +++++++++++ ...y_acl_422264a4470af9104fb86285d36d4341.xml | 27 ++++ ..._role_003260a4470af9104fb86285d36d436d.xml | 19 +++ ..._list_x_snc_pointsthing_api_point_null.xml | 107 +++++++++++++ ...snc_pointsthing_api_point_sys_ref_list.xml | 107 +++++++++++++ ...ction_55a3702b47b9b5104fb86285d36d43b8.xml | 141 ++++++++++++++++++ ..._role_eae1ec64470af9104fb86285d36d430a.xml | 26 ++++ ...ation_554c85e7473db5104fb86285d36d431e.xml | 88 +++++++++++ 15 files changed, 791 insertions(+), 6 deletions(-) create mode 100644 9c7718cddb229150791d8f8d13961979/update/sys_dictionary_x_snc_pointsthing_api_point_points.xml create mode 100644 9c7718cddb229150791d8f8d13961979/update/sys_documentation_x_snc_pointsthing_api_point_points_en.xml create mode 100644 9c7718cddb229150791d8f8d13961979/update/sys_scope_privilege_d9fa50e847c6f9104fb86285d36d4381.xml create mode 100644 9c7718cddb229150791d8f8d13961979/update/sys_script_f87e78e347f9b5104fb86285d36d4301.xml create mode 100644 9c7718cddb229150791d8f8d13961979/update/sys_script_include_d0f545ef47f9b5104fb86285d36d432a.xml create mode 100644 9c7718cddb229150791d8f8d13961979/update/sys_security_acl_422264a4470af9104fb86285d36d4341.xml create mode 100644 9c7718cddb229150791d8f8d13961979/update/sys_security_acl_role_003260a4470af9104fb86285d36d436d.xml create mode 100644 9c7718cddb229150791d8f8d13961979/update/sys_ui_list_x_snc_pointsthing_api_point_null.xml create mode 100644 9c7718cddb229150791d8f8d13961979/update/sys_ui_list_x_snc_pointsthing_api_point_sys_ref_list.xml create mode 100644 9c7718cddb229150791d8f8d13961979/update/sys_ui_section_55a3702b47b9b5104fb86285d36d43b8.xml create mode 100644 9c7718cddb229150791d8f8d13961979/update/sys_user_role_eae1ec64470af9104fb86285d36d430a.xml create mode 100644 9c7718cddb229150791d8f8d13961979/update/sys_ws_operation_554c85e7473db5104fb86285d36d431e.xml diff --git a/9c7718cddb229150791d8f8d13961979/checksum.txt b/9c7718cddb229150791d8f8d13961979/checksum.txt index dc115b4..033b9a8 100644 --- a/9c7718cddb229150791d8f8d13961979/checksum.txt +++ b/9c7718cddb229150791d8f8d13961979/checksum.txt @@ -1 +1 @@ -gWKRu7QBITFvh1b_7vWR3-Y5abzX63ToZrFUEEqbxNVkPM9zpg60x7eiSD8OXDY-Dgl5hGG7txrkCtXUXHvLL2VQPXFn3z9gc-8N5mPmJBpYm-lZgwLARSoRY-y_uhoCEYzAl3noLKxCv8F4a48YsH2EmI_Tk_vPaaT33vyiXU25lLkg_2w7niMeLhEuRV_n0xsa9B8gxbQUBzUcOA4V4U723Y4zh1LkSaOkc7Bou84LbS_dm2ma5rf2SH4tg11oWHwQQi-bmtaRjmgR198nI82TBqyTUKpZ_ltDCqZn8MRpMp2WCBBmJT7k-CbfHOltuHNzOHYZkpE7MuaMCfG-F7f6cxswgvqEq4b-dtkPhwzbu_B8yZ6tsBMeZN_mIsovk-VZncRLuY8Wk_BmIE_bsAIjaW0IhDhbwGvlG1udY15v95SfgSgziosl35tppJWtPaQG2uKu-p53Flzdc3C_Kc4W6ICOyZO-Vf1fdH_LRTJe6cEzITXIoiii6WgyW1xWZlGcCTzCG89A4KQMpncr1prM4BljOqct6Cz2sA5Yljgl6Zm_-Tq21vIICO8vXNmYYeDW9y0xJmRgnXW3kqxj93eIzNpetvKmp-Fr5gd4b0K_MCJAFuPt4gjuX63wiFeUctV36_Lk9dHpLBnotbfRjZ3h_vGirTMDa3jpc8QUhgU \ No newline at end of file +zvZQkEauFqKLXB29GmcVnT-3P2E9aV4SR4bI08kuqgJ6ewg9crjNNf5xraVoRm9gw4tqKr4wu7KShzfO30Uk3Zv4HCm33W7i-Eetvscq9G8pR-_4e_deve10qLK9tNH1g1hlRshJAxxJ9dJl7r0bv11-Ch7tYQYDWN5sK1YphWxEzW7yTJO4oOeTf-ZmWAk3P4i0fJYep4kPVIWMel6UgW8OktVo6HOfjLDO2QtQ61OJ3_9yazLS9whH6BPIe7fOaIRCtYoN4Z9d7EDYtQOpLTDb2iINHzK929O97WsWgG1i8G6pY3SXnoXwu7qbbdfB809nVD66l8qBdAA1nWOK9XfpYWbvmEaQwnanpjF-p55m31F0LRudgv4KAyKpqffgVLHKdnONn84kibSjPGxGfkywxcIDAXucQvNy6ZJM-wGAdASro8nr1X1gLfBp0nC1tal5iF6xO3xRzL5OTizbtoLe2lC1QEisENoLB_DPHusXHrEv9bceBx00NhtZlnO2m6sRMj-eEQscLHJuYYa3uHq57mrDNNMB_X0z18jpuMoWi3i2x1aRl37AYUwnCRDPun6xqtJM4Roq_pLv8EZekr7Zt2sa_Nr-lIo0QnzDvkSxg-8rR3KKsCCE31AjOLA0uPWpk8k50wYVjmhqu_9mbH-tESNCqaQwaLFp4HAHskM \ No newline at end of file diff --git a/9c7718cddb229150791d8f8d13961979/dictionary/x_snc_pointsthing_api_point.xml b/9c7718cddb229150791d8f8d13961979/dictionary/x_snc_pointsthing_api_point.xml index f67c22a..0ba2298 100644 --- a/9c7718cddb229150791d8f8d13961979/dictionary/x_snc_pointsthing_api_point.xml +++ b/9c7718cddb229150791d8f8d13961979/dictionary/x_snc_pointsthing_api_point.xml @@ -1,6 +1,7 @@ - + + diff --git a/9c7718cddb229150791d8f8d13961979/update/sys_dictionary_x_snc_pointsthing_api_point_points.xml b/9c7718cddb229150791d8f8d13961979/update/sys_dictionary_x_snc_pointsthing_api_point_points.xml new file mode 100644 index 0000000..58ec2f8 --- /dev/null +++ b/9c7718cddb229150791d8f8d13961979/update/sys_dictionary_x_snc_pointsthing_api_point_points.xml @@ -0,0 +1,74 @@ + + + true + false + + false + + + + + Points + + + 1 + + + + + false + false + + + + points + false + + + + false + integer + false + 40 + x_snc_pointsthing_api_point + + false + false + + + + false + + + + + false + false + sys_dictionary + SapphicFire + 2023-10-16 09:05:30 + Points + 9c7718cddb229150791d8f8d13961979 + + 9c7718cddb229150791d8f8d13961979 + sys_dictionary_x_snc_pointsthing_api_point_points + SapphicFire + 2023-10-16 09:05:30 + false + false + false + false + false + simple + false + script + + + false + + diff --git a/9c7718cddb229150791d8f8d13961979/update/sys_documentation_x_snc_pointsthing_api_point_points_en.xml b/9c7718cddb229150791d8f8d13961979/update/sys_documentation_x_snc_pointsthing_api_point_points_en.xml new file mode 100644 index 0000000..04167a8 --- /dev/null +++ b/9c7718cddb229150791d8f8d13961979/update/sys_documentation_x_snc_pointsthing_api_point_points_en.xml @@ -0,0 +1,26 @@ + + + + points + + + + en + x_snc_pointsthing_api_point + Points + sys_documentation + SapphicFire + 2023-10-16 09:05:30 + 0 + Points + 9c7718cddb229150791d8f8d13961979 + + 9c7718cddb229150791d8f8d13961979 + sys_documentation_x_snc_pointsthing_api_point_points_en + SapphicFire + 2023-10-16 09:05:30 + + + + + diff --git a/9c7718cddb229150791d8f8d13961979/update/sys_scope_privilege_d9fa50e847c6f9104fb86285d36d4381.xml b/9c7718cddb229150791d8f8d13961979/update/sys_scope_privilege_d9fa50e847c6f9104fb86285d36d4381.xml new file mode 100644 index 0000000..d8fd28b --- /dev/null +++ b/9c7718cddb229150791d8f8d13961979/update/sys_scope_privilege_d9fa50e847c6f9104fb86285d36d4381.xml @@ -0,0 +1,22 @@ + + + execute + 9c7718cddb229150791d8f8d13961979 + allowed + sys_scope_privilege + SapphicFire + 2023-10-19 09:36:51 + d9fa50e847c6f9104fb86285d36d4381 + 0 + ScriptableServiceResultBuilder.setBody + 9c7718cddb229150791d8f8d13961979 + + 9c7718cddb229150791d8f8d13961979 + sys_scope_privilege_d9fa50e847c6f9104fb86285d36d4381 + SapphicFire + 2023-10-19 09:36:51 + ScriptableServiceResultBuilder.setBody + global + scriptable + + diff --git a/9c7718cddb229150791d8f8d13961979/update/sys_script_f87e78e347f9b5104fb86285d36d4301.xml b/9c7718cddb229150791d8f8d13961979/update/sys_script_f87e78e347f9b5104fb86285d36d4301.xml new file mode 100644 index 0000000..06e9ac0 --- /dev/null +++ b/9c7718cddb229150791d8f8d13961979/update/sys_script_f87e78e347f9b5104fb86285d36d4301.xml @@ -0,0 +1,64 @@ + + + false + package_private + false + true + false + false + true + false + true + false + false + x_snc_pointsthing_api_point + + + false + + false + + Create point from API + 100 + 100 + + + + + + + + sys_script + SapphicFire + 2023-10-16 09:47:07 + global + / + f87e78e347f9b5104fb86285d36d4301 + 5 + Create point from API + + 9c7718cddb229150791d8f8d13961979 + + 9c7718cddb229150791d8f8d13961979 + sys_script_f87e78e347f9b5104fb86285d36d4301 + SapphicFire + 2023-10-16 10:34:26 +