#4866 RFE: configuration option to allow project and group creation only by admins
Closed: Invalid 3 years ago by ngompa. Opened 3 years ago by ngompa.

There are cases where pagure instances are intended to allow contributions to projects hosted by someone, but other people aren't supposed to be able to create projects and groups to be hosted there.

Perhaps something like ENABLE_NEW_PROJECTS_FOR_ADMINS_ONLY and ENABLE_NEW_GROUPS_FOR_ADMINS_ONLY or something for pagure.cfg?


This came up while working on setting up a new pagure instance. I realized we didn't actually have a built-in way to do this...

Check ENABLE_NEW_PROJECTS and ENABLE_UI_NEW_PROJECTS :)

You may also be interested in ENABLE_DEL_PROJECTS

@pingou those appear to also block admins via API and UI as well.

As it turns out, this is doable by setting USER_ACLS and ADMIN_API_ACLS in a specific way to set this behavior up, so I'm calling this actually supported, just in a different way that's more flexible than I expected. :100:

Metadata Update from @ngompa:
- Issue close_status updated to: Invalid
- Issue status updated to: Closed (was: Open)

3 years ago

Login to comment on this ticket.

Metadata