Disable project creation for normal users

Hey there,

I wanna know if it’s possible to disable the function to create new projects except for admins. Is this possible in any way?

Thanks for help!

Hi there!

In the settings file for Taiga, you can set the following four variables, among others:

MAX_PRIVATE_PROJECTS_PER_USER = None  # None == no limit
MAX_PUBLIC_PROJECTS_PER_USER = None  # None == no limit
MAX_MEMBERSHIPS_PRIVATE_PROJECTS = None  # None == no limit
MAX_MEMBERSHIPS_PUBLIC_PROJECTS = None  # None == no limit

The default on a self-hosted setup is None, as you can see. You could set them all to 0, and no user would be able to create private or public projects nor invite members to their projects.

You can then give specific users different limits through the Django admin (depends on your setup, but usually it is on the /admin/ path of your taiga-back instance).

Just go to Users/User and search for those admin users, you can either leave empty the 4 fields related to project creation/memberships to give them unlimited projects and members, or set up a limit for each field.

Hope this helps!

2 Likes