Open source generic plugin for OJS 3.3.0.x.
Role Synchronizer copies user roles from one journal to another on the same OJS installation. A publisher with several journals can give the reviewers, authors and other users of one journal the same roles in another journal in one step, instead of enrolling them one by one.
Security: do not use version 1.0.0.0. It was missing an access check. If it is installed, update to 1.1.0.1 or later, or disable the plugin. See CHANGELOG.md.
- For site administrators only. Nobody else sees or can call the tool.
- Choose, preview, confirm. You see which user groups match and who will get which role before anything is written.
- Same user group. A Copyeditor of the source journal becomes a Copyeditor here. A group with no match is skipped.
- Only adds. Existing roles are never changed or removed. Running the same copy again adds nothing.
- History and undo. Every run is recorded and can be taken back.
- Safe defaults. Reviewer, Author and Reader are offered directly; editorial roles are under Advanced.
- English and Turkish interface. In any other interface language the plugin's texts appear in English.
- Log in to OJS as a site administrator.
- Go to Settings > Website > Plugins > Upload A New Plugin and upload
roleSynchronizer-ojs3.3-<version>.tar.gz. To update an installed copy, use Upgrade on the plugin's row instead. - Enable the plugin in the journal that should receive roles.
To install from the source code, place the folder in plugins/generic/ with the name roleSynchronizer and enable the plugin. The plugin creates its two tables the first time the tool is opened.
Updating from 1.0.0.0: use Upgrade (OJS removes the old folder first). If you copy files by hand, delete the old roleSynchronizer folder first; do not copy the new files over it.
- As a site administrator, open the journal that should receive the roles.
- Go to Settings > Website > Plugins and open the Settings of the Role Synchronizer plugin.
- Choose the source journal and the roles, then click Preview.
- Check the preview:
- the table shows each user group of the source journal and the group it goes to in this journal; untick a group to leave it out;
- the list shows the people who will get a role.
- Tick the confirmation and click Add the roles.
| Option | Default | What it does |
|---|---|---|
| Editorial roles (Section Editor, assistants, Subscription Manager, Journal Manager) | not selected | These roles give access to submissions and settings. The Journal Manager role needs a second confirmation. |
| Add to the first group of the role when no group matches | off | Off: a user group with no match in this journal is skipped. |
| Also copy disabled user accounts | off | Off: disabled accounts are left out. |
The History tab lists every run of the journal: date, who ran it, source journal, roles, how many assignments were added, and the state.
- Undo removes the role assignments that run added. A user who has since been assigned to a submission in that role, or a reviewer who has a review assignment in the journal, keeps the role; the run is then shown as partly undone.
- Continue finishes a run that stopped before the end (for example because the browser was closed). It is offered 15 minutes after the run stopped, for 24 hours after the run started; later the run can only be undone.
- The undo checks two things before it removes a role: an assignment to a submission in that user group, and, for reviewers, a review assignment in the journal. It does not look at other uses of the role (a section editor assigned to a section, for example); check those yourself before you undo a copy of editorial roles.
- The users are not notified, and the Journal Managers of the source journal do not see that its user list was copied (the history is kept in the receiving journal only). Copy the roles of people only if they expect to work for both journals, and tell the source journal.
- A journal that is switched off can be the source, so that its people can be moved before it is closed.
- The site administrator role is never copied.
- A user who has two user groups of the same role in the source journal (for example Copyeditor and Layout Editor) gets both, when this journal has both groups.
- An undo cannot tell apart an assignment the run added from the same assignment someone removed and gave again by hand later; it removes it.
- The history is kept when the plugin is disabled.
- OJS version: 3.3.0.x (PHP 7.4 to 8.2)
- Database: two tables of its own,
role_synchronizer_runsandrole_synchronizer_items. Role assignments are written touser_user_groupsthrough OJS. - Languages: English, Turkish
There is no Settings link. You are not logged in as a site administrator, or the plugin is not enabled in this journal.
The Settings window shows an authorization message. OJS 3.3 opens a journal's plugin settings only for the Journal Managers of that journal. A site administrator who has no role in the journal must first enroll themselves as its Journal Manager (OJS does this for the administrator who creates a journal).
"The request could not be verified." Your session has expired. Reload the page and try again.
"Another run is at work in this journal." Wait until it has finished. A run that stopped can be continued or undone from the History tab after 15 minutes.
"The users or user groups have changed since the preview." Someone changed users or groups in the meantime. Preview again.
"The operation could not be completed." See the PHP error log of the server; lines of this plugin start with roleSynchronizer:.
OJS Services · info@ojs-services.com · ojs-services.com
GNU General Public License v3. See LICENSE.