Allow to set session limit per user

Created on 11 July 2018, over 6 years ago
Updated 15 January 2025, 3 months ago

Problem/Motivation

It should be possible to have individual user limits.

Proposed resolution

A field should be added to the user entity, where you can provide an individual session limit.

Remaining tasks

The proposed solution has been implemented, reviews are needed.

User interface changes

When editing a user profile, assuming appropriate permissions are set, an integer input field is provided where the total number of simultaneous active sessions can be set. In case there is no value provided, the original limits according to the user's roles are applied. In case the value 0 is entered, no restrictions are enforced on the number of sessions the user can have.

Data model changes

Integer base field has been added to user entities.

✨ Feature request
Status

Needs review

Version

2.0

Component

Code

Created by

πŸ‡§πŸ‡ͺBelgium michiellucas

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • First commit to issue fork.
  • πŸ‡ΊπŸ‡ΈUnited States grndlvl

    OK I have rebased the PR based on 2.x. However, 2.x is actually behind the latest release 2.0.2. So once 2.x branch is updated we'll want to re-roll.

    In the mean time, I have created a patch against 2.0.2.

    Marking RTBC as this appears to be working as expected and next steps are on the maintainers to update the 2.x branch (and can probably easily merge without much effort.)

Production build 0.71.5 2024