• Login
  • Register
  • Login Register
    Login
    Username/Email:
    Password:
    Or login with a social network below
  • Forum
  • Website
  • GitHub
  • Status
  • Translation
  • Features
  • Team
  • Rules
  • Help
  • Feeds
User Links
  • Login
  • Register
  • Login Register
    Login
    Username/Email:
    Password:
    Or login with a social network below

    Useful Links Forum Website GitHub Status Translation Features Team Rules Help Feeds
    Jellyfin Forum Development Plugin Development Default User Permissions with jfa-go

     
    • 0 Vote(s) - 0 Average

    Default User Permissions with jfa-go

    Maxy TV
    Offline

    Junior Member

    Posts: 19
    Threads: 9
    Joined: 2024 Jan
    Reputation: 0
    #1
    2024-02-02, 05:53 PM (This post was last modified: 2024-02-02, 05:53 PM by Maxy TV.)
    Hello, I am using jfa-go, which is ideal for people to register themselves without me having to do it manually. However, there is a problem that I can't solve: the default permissions and settings when creating an account. Is there a way to set default values somehow?

    Let me explain. What I want is that when a user registers, they cannot transcode audio or video, cannot download the content, and I want to limit it to 1 device connected simultaneously.

    How could I do this? Is there any Jellyfin document that can be modified to change the default permissions to my liking, either in Jellyfin or jfa-go?

    Thank you very much.
    tmsrxzar
    Offline

    Senior Member

    Posts: 755
    Threads: 6
    Joined: 2023 Nov
    Reputation: 20
    #2
    2024-02-02, 06:00 PM (This post was last modified: 2024-02-02, 06:02 PM by tmsrxzar. Edited 1 time in total.)
    (2024-02-02, 05:53 PM)Maxy TV Wrote: Hello, I am using jfa-go, which is ideal for people to register themselves without me having to do it manually. However, there is a problem that I can't solve: the default permissions and settings when creating an account. Is there a way to set default values somehow?

    Let me explain. What I want is that when a user registers, they cannot transcode audio or video, cannot download the content, and I want to limit it to 1 device connected simultaneously.

    How could I do this? Is there any Jellyfin document that can be modified to change the default permissions to my liking, either in Jellyfin or jfa-go?

    Thank you very much.

    there is no default you can change in jellyfin
    there is no option to copy settings from another user in jellyfin
    check the documentation for the project you are using (which is 3rd party btw), it indicates that it will use a default
    https://github.com/hrfee/jfa-go
    Quote:  -config, -c string
        alternate path to config file. (default "/home/hrfee/.config/jfa-go/config.ini")


    there is also an open issue regarding a default profile which reinforces that there is one
    - https://github.com/hrfee/jfa-go/issues/206
    Maxy TV
    Offline

    Junior Member

    Posts: 19
    Threads: 9
    Joined: 2024 Jan
    Reputation: 0
    #3
    2024-02-02, 06:31 PM
    Excuse me, I don't quite understand what it means by:
    -config, -c string
    alternate path to config file. (default "/home/hrfee/.config/jfa-go/config.ini")

    I'm not sure where I should input this in jfa-go. In other words, if I have it installed (I can try reinstalling it), once the installation is done again, do I need to go to the specified directory there and change the default configuration as I wish?
    tmsrxzar
    Offline

    Senior Member

    Posts: 755
    Threads: 6
    Joined: 2023 Nov
    Reputation: 20
    #4
    2024-02-02, 06:36 PM
    (2024-02-02, 06:31 PM)Maxy TV Wrote: Excuse me, I don't quite understand what it means by:
    -config, -c string
        alternate path to config file. (default "/home/hrfee/.config/jfa-go/config.ini")

    I'm not sure where I should input this in jfa-go. In other words, if I have it installed (I can try reinstalling it), once the installation is done again, do I need to go to the specified directory there and change the default configuration as I wish?

    i can't answer that because i don't use this plugin, the best place to ask is on it's github page
    the response above was 2 minutes of reading the github page in order to provide some sort of direction to you
    Maxy TV
    Offline

    Junior Member

    Posts: 19
    Threads: 9
    Joined: 2024 Jan
    Reputation: 0
    #5
    2024-02-02, 06:46 PM
    Thank you very much, I've already opened a question on GitHub. Have a happy day.
    bitmap
    Offline

    Community Moderator

    Posts: 851
    Threads: 9
    Joined: 2023 Jul
    Reputation: 27
    #6
    2024-02-02, 06:48 PM
    The config file doesn't have this information anyway. You should be able to create a dummy template user in Jellyfin, make sure jfa-go is importing your users, set the template user's access and perms as you wish, then set the template user as the default for account creation.

    You could even have a couple of them and call them things like no-transcode or low-bandwidth or no-anime depending on your application. I believe -- even though jfa-go doesn't say this explicitly in the documentation -- that settings are generated from the "default" or template user you have set.
    Jellyfin 10.10.7 LSIO Docker | Ubuntu 24.04 LTS | i7-13700K | Arc A380 6 GB | 64 GB RAM | 79 TB Storage

    [Image: AIL4fc84QG6uSnTDEZiCCtosg7uAA8x9j1myFaFs...qL0Q=w2400]
    « Next Oldest | Next Newest »

    Users browsing this thread: 1 Guest(s)


    • View a Printable Version
    • Subscribe to this thread
    Forum Jump:

    Home · Team · Help · Contact
    © Designed by D&D - Powered by MyBB
    L


    Jellyfin

    The Free Software Media System

    Linear Mode
    Threaded Mode