Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Max number of rooms takes shared rooms into account #290

Open
pielonet opened this issue Oct 16, 2024 · 0 comments
Open

Max number of rooms takes shared rooms into account #290

pielonet opened this issue Oct 16, 2024 · 0 comments

Comments

@pielonet
Copy link
Collaborator

Describe the bug
Restrictions on the number of rooms (A) set in the admin interface prevents users from creating their own rooms if the number of rooms shared with them (B) plus the number of rooms the user has already created (C) exceeds the first number (A).

To Reproduce
Steps to reproduce the behavior:

  1. Go to/settings/admin/additional
  2. Restrict number of rooms to 1 for a group
  3. Share 1 room with that group
  4. Connect as a user of that group
  5. User can not create a room : Room quota is 0/1 (which is OK since the user hasn't created a room yet) but input to create rooms is hidden and a message says that the quota was reached.

Expected behavior
Input to create a room should be displayed to let the user create a room since their quota is not reached.

Screenshots
On the following screenshot user has a quota of 4 and there are 4 rooms shared with them. A message says that the maximum number of room is reached although the user did not create any room (the quota indication 0/4 is OK though).
image

System (please complete the following information):

  • Firefox [131.0.2]
  • App version [2.7.2]
  • Nextcloud version [29.0.7]

Additional context
It looks like shared rooms are taken into account to compute quota and creation blocks if the number of rooms created plus the number of shared rooms matches the quota.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant