Inability to set user quota during user creation

Hi Team,

I’ve encountered an issue when attempting to assign a personal quota while creating a new user in OCIS. The system does not allow setting a quota during the initial creation process. Instead, the option to assign a quota only becomes available after the user has logged in for the first time.

Steps to reproduce:

  1. Navigate to the user creation interface.
  2. Attempt to assign a “Personal Quota” while creating the new user.
  3. The system shows a message indicating that the user must log in once before a quota can be assigned.

Current behavior:
Quota assignment is restricted until the user has logged in at least once.

Expected behavior:
Quotas should be assigned during user creation to simplify user management and enforce limits from the first login.

Environment:

  • Ocis version: 5.0.0
  • OS: Ubuntu
  • Deployment method: Docker Image

Could this be a bug, or is there a configuration setting to enable default quotas upon user creation?

Thank you

This has a technical background. The space is only created when the user logs in for the first time. That’s why we can’t change the quota before.

If you want to assign the same Quota to all users you can use the GRAPH_SPACES_DEFAULT_QUOTA envvar to set a default quota

1 Like