Still on Drupal 7? Security support for Drupal 7 ended on 5 January 2025. Please visit our Drupal 7 End of Life resources page to review all of your options.
One Session allows the Administrator to define by role which users can have multiple sessions at a time.
If One Session is enforced the User is restricted to one session. If a restricted user logs on the sessions table is checked, if the users is found to have other sessions: those sessions are set inactive, the user is notified and the event is written to the log.
If a user is in a restricted role and a role that is unrestricted, the One Session feature has no effect.
New features:
- #250834 by Frank Steiner: Ported to D6.
- Refactored large parts of the code.
- Moved node locking to an earlier stage to more reliably detect node edit urls and avoid unnecessary locking. This also allows user defined urls to lock nodes for (no UI yet).
- by ptalindstrom: Display error message even when the same user tries to edit its own locked node.
Bugs fixed:
- Fixed node (un)locking, especially when using url aliases.
Other changes :
- #278325 Nodereference/Userreference - autocomplete widget does not check nodes/users are 'referenceable'.
- #278325 followup: Unify the mechanism used to assign hook_field('validate') errors to form elements across fields and widgets.
- Userreference - Turn the 'Reverse link' radios into a checkbox in the field settings.
- Nodereference - Only list 'node' Views in the 'advanced mode', and differnciate default views as in D5.
- Optionwidgets - fix PHP warning when creating a new 'on/off checkbox' and no allowed values could be set yet.
- Optionwidgets - fix PHP warning on 'on/off checkbox' only one 'allowed value'.
- Optionwidgets - add a 'warning' message to remind the admins they need to set allowed values.
- #278676 by hass: fix untranslated field and widget type names.
- Do not validate the fields settings form when the 'change label / widget' submits the form.
- #273502 Let the 'menu settings' node-form fieldset on node forms be repositioned.
- #273502 followup: add a description for non-CCK 'fields' on 'Manage fields' tab.
- #278793 by hass: fix untranslated PHP code example.