Admin Panel Access Protection

To secure the admin panel, a two-layer protection mechanism has been introduced, combining database-backed authorization with environment-based credential verification.

Two-Layer Protection Mechanism

To gain access to the admin panel, users must successfully pass two independent verification layers:

  1. Layer 1: Organizer Model Verification - The system checks the currently logged-in user’s name and email against the records in the Organizer model. - These details must match the user’s Academic Cloud credentials.

  2. Layer 2: Environment Credentials - The administrator ID and password must be supplied and matched against secure environment variables.

Note

Access is granted only if the user holds valid organizer permissions and provides the correct admin credentials.

Configuration (.env)

The admin credentials are securely stored as environment variables. Add the following configuration to your .env file:

ADMIN_USERNAME=your_secure_admin_id
ADMIN_PASSWORD=your_secure_admin_password

Support and Troubleshooting

If an authorized organizer or user attempts to access the admin panel but encounters permission or authentication errors, they can reach out for support.

  • Helpdesk: If you require admin access or encounter issues, please contact the support team via the NFDIxCS Helpdesk.