Türkçe README için buraya tıklayın.
This OJS 3.3 plugin allows journal managers to synchronize user roles between different journals (contexts) on the same installation. It provides a UI to copy selected roles from a source journal to the current one, simplifying user management in multi-journal setups. This is particularly useful for publishers managing multiple journals, as it provides a solution for the common need to assign reviewers and other users to the same roles across several journals. This version includes fixes for multilingual support and enhanced security against common web vulnerabilities.
- Copy user roles from one journal to another.
- Preserve existing roles; only add missing roles to the target journal.
- Enhanced security measures:
- CSRF (Cross-Site Request Forgery) protection.
- Secure query structure to prevent SQL Injection attacks.
- Multilingual support (Turkish and English) with a fallback translation mechanism for missing keys.
-
Download the latest
roleSynchronizer.tar.gzfile from the Releases page of this repository. -
Log in to the OJS administration panel.
-
Navigate to Settings > Website > Plugins > Upload a New Plugin.
-
Upload the
roleSynchronizer.tar.gzfile. -
Enable the plugin.
- Clone or download the source code from this repository.
- Place the
roleSynchronizer/folder inside the/plugins/generic/directory of your OJS installation. - Check file permissions (755 for folders, 644 for files).
- Enable the plugin from the administration panel.
- Log in to the target journal where roles will be copied.
- Navigate to Settings > Website > Plugins > Generic Plugins.
- Find the Role Synchronizer plugin.
- Click the Settings button.
- In the pop-up window, select the source journal and the roles you want to synchronize.
- Click the Synchronize button.
⚠️ The operation is irreversible! Always back up your database before running the synchronization.- Existing roles are not modified; only missing roles are added to users in the target journal.
- A single user can have multiple roles.
- Only Journal Manager and Site Admin roles can use this plugin.
- CSRF Protection: Synchronization requests are validated using OJS's built-in CSRF token mechanism, preventing unauthorized requests.
- SQL Injection Protection: The database queries use a parameterized query structure, preventing user input from being directly embedded into the query.
- Supported OJS Version: 3.3.x
- Database Changes: None
- Language Support: English, Turkish
- Check file permissions.
- Check the OJS log files.
- Verify that the plugin folder structure is correct.
- Check if the same roles exist in both the source and target journals.
- Check the PHP error logs.
- Verify that the user has sufficient permissions.
- Refresh the page and try again.
- Clear your browser's cache.
For issues, bug reports, or feature requests related to the plugin, please contact the maintainer below:
- Maintainer: Kerim SARIGÜL
- Email: kerim@kerimsarigul.com
- GitHub: OJS-RoleSynchronizer-Plugin
This plugin is distributed under the GPL v3 license.