Subversion Repositories SmartDukaan

Rev

Rev 37203 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 37203 Rev 37221
Line 53... Line 53...
53
--
53
--
54
-- NumberInt is REQUIRED: NumberLong would break Gson doc parsing.
54
-- NumberInt is REQUIRED: NumberLong would break Gson doc parsing.
55
-- categorySpecs derivation for existing 10006/10007 docs is done via the
55
-- categorySpecs derivation for existing 10006/10007 docs is done via the
56
-- one-time endpoint POST /content/specs/derive?categoryId=... (see
56
-- one-time endpoint POST /content/specs/derive?categoryId=... (see
57
-- CategorySpecDerivationService).
57
-- CategorySpecDerivationService).
-
 
58
 
-
 
59
-- 5. FOFO sidebar menu: Technology > External API Clients ---------------
-
 
60
-- Read-only admin screen (/apiClientAccess, action_class api-client-access)
-
 
61
-- showing api_client rows with their store + category mappings.
-
 
62
-- Granted to Technology (cs.ticket_category 8, all escalation levels) and
-
 
63
-- HO admin (Business Intelligence 19, escalation 3).
-
 
64
-- APPLIED ON PROD hadb1 2026-08-04.
-
 
65
INSERT INTO auth.menu (display_text, description, parent_menu_id, sequence, action_class)
-
 
66
VALUES ('External API Clients', 'API clients with mapped stores and categories', 184, 10, 'api-client-access');
-
 
67
 
-
 
68
SET @menu_id = LAST_INSERT_ID();
-
 
69
INSERT INTO auth.menu_category (menu_id, category_id, escalation_type) VALUES
-
 
70
  (@menu_id, 8, '0'), (@menu_id, 8, '1'), (@menu_id, 8, '2'), (@menu_id, 8, '3'),
-
 
71
  (@menu_id, 19, '3');