-- Create Admin group for Red Cross organization
INSERT INTO groups (group_id, name, description, org_id)
VALUES (
    '019b1eba-3000-79ed-8e83-000000000001'::uuid,
    'Admin',
    'Admin Group with full access',
    NULL
)
ON CONFLICT (group_id) DO NOTHING;

-- Grant Admin group access to User Access Manager module
INSERT INTO group_module_permissions (group_id, module_id, action)
VALUES (
    '019b1eba-3000-79ed-8e83-000000000001'::uuid,
    '0194a8b2-cccc-7123-8123-123456789acb'::uuid,  -- UserAccessManager module
    'allow'
)
ON CONFLICT DO NOTHING;
