Feat: Companies and User permissions added.

This commit is contained in:
2025-08-04 20:44:05 +01:00
parent d3813e987f
commit 3d2b753b79
113 changed files with 3906 additions and 1269 deletions

View File

@@ -489,7 +489,7 @@ BEGIN
;
END IF;
CALL fetchmetrics.p_dog_calc_user(
CALL fetchmetrics.p_dog_calc_user_access(
a_guid
, 0 -- get_all_user
, 0 -- get_inactive_user
@@ -511,12 +511,12 @@ BEGIN
IFNULL(CU_T.has_access, 0)
INTO
v_can_create
FROM fetchmetrics.DOG_Calc_User_Temp CU_T
FROM fetchmetrics.DOG_Calc_User_Access_Temp CU_T
WHERE CU_T.GUID = a_guid
LIMIT 1
;
CALL fetchmetrics.p_dog_clear_calc_user(
CALL fetchmetrics.p_dog_clear_calc_user_access(
a_guid
, 0 -- a_debug
);