![]() Server : Apache/2 System : Linux server-15-235-50-60 5.15.0-164-generic #174-Ubuntu SMP Fri Nov 14 20:25:16 UTC 2025 x86_64 User : gositeme ( 1004) PHP Version : 8.2.29 Disable Function : exec,system,passthru,shell_exec,proc_close,proc_open,dl,popen,show_source,posix_kill,posix_mkfifo,posix_getpwuid,posix_setpgid,posix_setsid,posix_setuid,posix_setgid,posix_seteuid,posix_setegid,posix_uname Directory : /home/gositeme/domains/lavocat.quebec/public_html/scripts/ |
const { PrismaClient } = require('@prisma/client');
const prisma = new PrismaClient();
async function updateDannyProfile() {
try {
console.log('š Looking for Danny Perez (superadmin)...');
// Find Danny Perez by email or username
const danny = await prisma.user.findFirst({
where: {
OR: [
{ email: 'danny@liberte-meme-en-prison.com' },
{ username: 'danny-perez' },
{ email: { contains: 'danny' } },
{ username: { contains: 'danny' } }
]
}
});
if (!danny) {
console.log('ā Danny Perez not found. Available users:');
const allUsers = await prisma.user.findMany({
select: { id: true, email: true, username: true, role: true }
});
allUsers.forEach(user => {
console.log(`- ID: ${user.id}, Email: ${user.email}, Username: ${user.username}, Role: ${user.role}`);
});
return;
}
console.log(`ā
Found Danny Perez: ${danny.email} (ID: ${danny.id})`);
console.log(`Current role: ${danny.role}`);
console.log(`Current username: ${danny.username}`);
console.log(`Current public profile: ${danny.publicProfile}`);
const updatedProfile = await prisma.user.update({
where: { id: danny.id },
data: {
username: 'danny-perez',
isProfilePublic: true,
bio: `Jurist, Class Action Representative, and Founder of Liberté Même en Prison
As the lead representative in the landmark Bordeaux Prison Conditions Class Action, I have dedicated my career to advocating for fundamental human rights and dignity within the French penal system. This case represents a critical juncture in French legal history, addressing systemic issues that affect thousands of incarcerated individuals and their families.
My journey began with a deep commitment to justice reform, recognizing that true liberty extends beyond physical freedom to encompass the preservation of human dignity in all circumstances. The Bordeaux case emerged from years of documented violations, inadequate medical care, and inhumane living conditions that violate both French and international human rights standards.
As founder of this platform, I envisioned a comprehensive legal ecosystem that connects advocates, legal professionals, and affected communities. Our mission extends beyond individual cases to systemic reform, ensuring that every voice in the judicial process is heard and every right is protected.
The Bordeaux Class Action represents more than legal proceedingsāit's a movement toward accountability, transparency, and fundamental change in how we approach incarceration and rehabilitation in France. Through strategic litigation, public advocacy, and community engagement, we're building a future where justice truly serves all citizens.
My role as both jurist and advocate reflects the interconnected nature of legal reform and social justice. Every case, every client, every family affected by the system deserves not just representation, but a voice in shaping the future of justice in France.
---
BORDEAUX PRISON CONDITIONS CLASS ACTION - CASE SUMMARY
Case Status: Active Class Action
Representative: Danny Perez
Jurisdiction: French National Courts
Affected Population: 2,000+ incarcerated individuals and families
BACKGROUND:
The Bordeaux Prison Conditions Class Action addresses systematic human rights violations within the French penal system, specifically focusing on conditions that violate Article 3 of the European Convention on Human Rights (prohibition of torture and inhuman or degrading treatment).
KEY ALLEGATIONS:
⢠Inadequate medical care and delayed treatment
⢠Overcrowded living conditions exceeding capacity limits
⢠Insufficient access to legal counsel and family contact
⢠Violations of basic hygiene and sanitation standards
⢠Systemic failure in grievance procedures
LEGAL FRAMEWORK:
The case is built on multiple legal foundations:
- French Civil Code Article 1382 (fault-based liability)
- European Convention on Human Rights
- French Prison Administration regulations
- International standards for prison conditions
CURRENT STATUS:
The class action has been certified and is proceeding through the French judicial system. Preliminary hearings have established the validity of claims, and expert testimony has been submitted regarding systemic failures in prison administration and oversight.
IMPACT AND SCOPE:
This case has the potential to affect thousands of incarcerated individuals across France, setting precedent for prison reform and establishing new standards for human rights protection within the penal system. The outcome will influence future cases and policy development at both national and European levels.
NEXT STEPS:
Continued litigation, expert witness testimony, and public advocacy to ensure comprehensive reform and accountability within the French prison system.`,
role: 'SUPERADMIN'
}
});
console.log('ā
Profile updated successfully!');
console.log(`New username: ${updatedProfile.username}`);
console.log(`Public profile: ${updatedProfile.publicProfile}`);
console.log(`Bio length: ${updatedProfile.bio?.length || 0} characters`);
console.log('\nš Your public profile should now be accessible at:');
console.log(`http://localhost:3000/profiles/${updatedProfile.username}`);
} catch (error) {
console.error('ā Error updating profile:', error);
} finally {
await prisma.$disconnect();
}
}
updateDannyProfile();