Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps | Demo | Docs | Install
  1. Cloudron Forum
  2. Mastodon
  3. Mastodon image feature request: expose settings for reserved usernames in config.sh

Mastodon image feature request: expose settings for reserved usernames in config.sh

Scheduled Pinned Locked Moved Mastodon
3 Posts 2 Posters 499 Views 2 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • whitespaceW Offline
    whitespaceW Offline
    whitespace
    wrote on last edited by
    #1

    In a non-Docker installation it is apparently found under

    config/settings.yml
    

    and should look like this:

    reserved_usernames:
      - admin
      - support
      - help
      - root
      - webmaster
      - administrator
      - mod
      - moderator
    

    It would be good if admins were able to control this list.

    1 Reply Last reply
    1
    • girishG girish moved this topic from Support on
    • nebulonN Offline
      nebulonN Offline
      nebulon
      Staff
      wrote on last edited by
      #2

      While I can see the internal usage of that config variable, it does not seem to be documented at https://docs.joinmastodon.org/admin/config/ so I am not sure how stable that is.

      Generally we have decided to use the .env configuration for the instance, as that is the documented way, compared to using .yml

      I also wonder if this is just not implemented upstream yet, but according to https://github.com/mastodon/mastodon/blob/main/config/settings.yml#L1 the admin UI should eventually have that setting exposed.

      whitespaceW 1 Reply Last reply
      0
      • nebulonN nebulon

        While I can see the internal usage of that config variable, it does not seem to be documented at https://docs.joinmastodon.org/admin/config/ so I am not sure how stable that is.

        Generally we have decided to use the .env configuration for the instance, as that is the documented way, compared to using .yml

        I also wonder if this is just not implemented upstream yet, but according to https://github.com/mastodon/mastodon/blob/main/config/settings.yml#L1 the admin UI should eventually have that setting exposed.

        whitespaceW Offline
        whitespaceW Offline
        whitespace
        wrote on last edited by
        #3

        @nebulon Thanks! If that´s the case, we will be patient and wait for it to find its way upstream.

        1 Reply Last reply
        1
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Bookmarks
        • Search