Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Default account setting for new user. #111

Open
rems25000 opened this issue Mar 7, 2023 · 5 comments
Open

Default account setting for new user. #111

rems25000 opened this issue Mar 7, 2023 · 5 comments
Labels
enhancement New feature or request

Comments

@rems25000
Copy link

Good morning,
I am looking to reproduce a function of my old login system. Let me explain. When a new user is created on the authentic side, he is redirected to Jellyfin OK.
Except that the user creates on Jellyfin settings that he should not like "download content" and especially the layout on the "home screen" side. On my old user management system, I had a so-called "master" account with an optimal blank configuration that applied automatically to each account creation. How to do that here?

THANKS

@rems25000 rems25000 added the enhancement New feature or request label Mar 7, 2023
@9p4
Copy link
Owner

9p4 commented Mar 10, 2023

Hmm. I wonder how that can be integrated with roles. By the design of OpenID, each user has a set of attributes. I wonder if an attribute can be read to set the template user?

@rems25000
Copy link
Author

rems25000 commented Mar 11, 2023

Personally, I don't use moment roles, as long as the user has valid SSO access it's OK.
Is it when it arrives on Jellyfin that the plugin creates its account in the DB Jellyfin?
Me, I'm talking about this step if the plugin could make a clone of an already pre-configured "master" account.

the advantage is that if there are modifications to be made for future users, you just have to pretend to be these users.
After if I can reproduce all the parameters with the "roles" I am also a doc taker.

@9p4
Copy link
Owner

9p4 commented Mar 11, 2023

That functionality does not exist at the moment. I can work on adding it sometime soon.

@cchan-uoft
Copy link

Just bumping this; the proper solution would be for me to get roleClaims working with my auth provider, but in lieu of that the default user ought to be created with 0 access until explicitly granted, rather than the other way around.

@9p4
Copy link
Owner

9p4 commented Mar 1, 2024

I am quite busy with exams over the next week, so I might not get to it soon. If you know C#, feel free to open a PR, however.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants