Managing Configuration in Nextcloud: Best Practices for Mode Files

I’m setting up Nextcloud and need to manage different configurations based on user roles (e.g., admin, user, guest). I’ve heard that using mode files could be beneficial, but I’m unsure about a few aspects:

  1. Definition: What are mode files in the context of Nextcloud, and how do they differ from other configuration methods?
  2. Implementation: How can I create and read mode files within Nextcloud? Are there specific best practices or tools to use?
  3. Structure: What’s the recommended way to structure data within mode files for optimal performance and clarity?
  4. Examples: Can anyone provide examples of using mode files effectively in Nextcloud configurations?

Is this just a post intended to spam a link to your own web site under the guise of mentioning “mode files” (whatever those are)?

If I’m mistaken, I apologize, but that link makes zero sense and does not discuss the topic.

If a legitimate query, can you elaborate on what problem you are trying to solve?