-- Migration: Add User Profile module permissions to HR and Employee groups
-- Created: 2025-11-18
-- Description: Grants User Profile module access to both HR and Employee groups for Cybex PTE LTD

-- Add User Profile to HR group
INSERT INTO group_module_permissions (group_id, module_id, action) VALUES
  ('0194a8ba-0000-7123-8123-123456789ad1'::uuid, '0194a8b2-8888-7123-8123-123456789ac6'::uuid, 'allow')  -- User Profile for HR
ON CONFLICT DO NOTHING;

-- Add User Profile to Employee group
INSERT INTO group_module_permissions (group_id, module_id, action) VALUES
  ('0194a8ba-0000-7123-8123-123456789ad2'::uuid, '0194a8b2-8888-7123-8123-123456789ac6'::uuid, 'allow')  -- User Profile for Employee
ON CONFLICT DO NOTHING;
