forgejo/modules/setting
6543 0b27b93728
Make allowed Visiblity modes configurable for Users (#16271)
Now that #16069 is merged, some sites may wish to enforce that users are all public, limited or private, and/or disallow users from becoming private.

This PR adds functionality and settings to constrain a user's ability to change their visibility.

Co-authored-by: zeripath <art27@cantab.net>
2021-06-27 19:47:35 +01:00
..
attachment.go
cache.go
cors.go
cron.go
cron_test.go
database.go
database_sqlite.go
database_test.go
git.go Let package git depend on setting but not opposite (#15241) 2021-06-26 13:28:55 +02:00
indexer.go
indexer_test.go
lfs.go Let package git depend on setting but not opposite (#15241) 2021-06-26 13:28:55 +02:00
log.go
mailer.go
markup.go Add sanitizer rules per renderer (#16110) 2021-06-23 17:09:51 -04:00
migrations.go
mime_type_map.go
oauth2_client.go
picture.go
project.go
queue.go
repository.go Rework repository archive (#14723) 2021-06-23 17:12:38 -04:00
service.go Make allowed Visiblity modes configurable for Users (#16271) 2021-06-27 19:47:35 +01:00
session.go
setting.go Make app.ini more restrictive on new installations (#16266) 2021-06-27 11:07:36 +01:00
setting_test.go
storage.go Rework repository archive (#14723) 2021-06-23 17:12:38 -04:00
storage_test.go
task.go
webhook.go