Skip to content

Feat/Added RBAC#2

Open
jacknbeans wants to merge 100 commits into
michaelhthomas:feat/oidc-loginfrom
jacknbeans:feat/oidc-login
Open

Feat/Added RBAC#2
jacknbeans wants to merge 100 commits into
michaelhthomas:feat/oidc-loginfrom
jacknbeans:feat/oidc-login

Conversation

@jacknbeans
Copy link
Copy Markdown

@jacknbeans jacknbeans commented Mar 28, 2025

Description

The 'Required Claims' setting was not sufficient for working with Authelia RBAC. This is a very simple implementation.

Screenshot (if UI-related)

Screenshot From 2025-03-28 12-15-26

To-Dos

  • Successful build pnpm build
  • Translation keys pnpm i18n:extract
  • Database migration (if required)

michaelhthomas and others added 9 commits March 24, 2025 19:19
…for user authorization

This adds 'Role Claim', 'User Roles', and 'Admin Roles' to the OIDC provider configuration modal.
This is a basic implementation and only checks if the user has any of the defined user/admin roles
it doesn't actually give anybody with admin roles privileged access yet.
…search user info object

Also removed the admin roles as I think that was flying in the face of how Jellyseerr likes to
handle it's admin accounts.
Comment thread server/utils/oidc.ts Outdated
url.searchParams.set('scope', 'openid profile email');
url.searchParams.set(
'scope',
provider.scopes?.replaceAll(',', ' ') ?? 'openid profile email'
Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Accidentally included this change without commenting on it, but seemed like the OIDC provider setting wasn't being used here. So changed it to use the default if it's not set by the user.

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yep, nice catch!

@jacknbeans
Copy link
Copy Markdown
Author

Seems that the 'Remove from Radarr/Sonarr' button in the requests page is broken. Will investigate if it's tied to my changes.

@gauthier-th
Copy link
Copy Markdown

Seems that the 'Remove from Radarr/Sonarr' button in the requests page is broken. Will investigate if it's tied to my changes.

This is not introduced by you. It's a bug we introduced and already existing on develop.

@ar3s3ru
Copy link
Copy Markdown

ar3s3ru commented Jul 5, 2025

Hi folks, I'd like to make use of this feature. What's the blocker in merging this PR?

@michaelhthomas michaelhthomas force-pushed the feat/oidc-login branch 4 times, most recently from fa9adf0 to 39b6f47 Compare July 6, 2025 00:51
@michaelhthomas michaelhthomas force-pushed the feat/oidc-login branch 2 times, most recently from ff1c1f2 to 7f39794 Compare September 8, 2025 18:08
0xSysR3ll and others added 6 commits September 10, 2025 17:20
…eerr-team#1491)

* feat(wehbook): add support for dynamic placeholders in webhook URL

* refactor(webhook): rename supportPlaceholders to supportVariables and update related logic

Signed-off-by: 0xsysr3ll <0xsysr3ll@pm.me>

* feat(i18n): add missing translations

Signed-off-by: 0xsysr3ll <0xsysr3ll@pm.me>

* refactor(notifications): simplify webhook URL validation logic

Signed-off-by: 0xsysr3ll <0xsysr3ll@pm.me>

* fix: wrong docs url

Co-authored-by: Gauthier <mail@gauthierth.fr>

* fix: update webhook documentation URL to point to Jellyseerr

Signed-off-by: 0xsysr3ll <0xsysr3ll@pm.me>

---------

Signed-off-by: 0xsysr3ll <0xsysr3ll@pm.me>
Co-authored-by: Gauthier <mail@gauthierth.fr>
…caching (seerr-team#1910)

* fix: ensure dnsCache is checked for when its enabled before initialization

previously dnsCache was being initialized even if it was disabled because the previous check was
always returning truthy.

fix seerr-team#1857

* chore: update dns-caching to 0.2.6

This will allow dns-caching to respect forceIpv4 flag.

* chore: update dns-caching to 0.2.7
saltydk and others added 28 commits October 12, 2025 17:19
* build(docker): setup rootless image

---------

Signed-off-by: Ludovic Ortega <ludovic.ortega@adminafk.fr>
Signed-off-by: Ludovic Ortega <ludovic.ortega@adminafk.fr>
Signed-off-by: Ludovic Ortega <ludovic.ortega@adminafk.fr>
* ci: update to release workflow

* build: re-ran lock file update with typeorm 0.3.12

* build: resync lockfile with develop

* ci: syntax fix in cliff.toml

* Update .github/workflows/release.yml

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* reverting co-pilots nonsense @fallenbagel's fault

Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
* docs: added guide for image verification

* Update verifying-signed-images.mdx

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* fix: update github repo refs for docker hub

* ci: updated wf to use env var for the docker hub space
Updated warning message for HAProxy documentation. And fixed a typo
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
…p ci]

Signed-off-by: Ludovic Ortega <ludovic.ortega@adminafk.fr>
* docs: add documentation for dockerhub

Signed-off-by: Ludovic Ortega <ludovic.ortega@adminafk.fr>

* docs: typo fixes

---------

Signed-off-by: Ludovic Ortega <ludovic.ortega@adminafk.fr>
Co-authored-by: sudo-kraken <joe@j-harrison.co.uk>
fix: add endpoint deletion on disable

fix: use definemessages util

refactor: add code comment
…chart versions (seerr-team#2064)

* ci: added helm cosign verification and renovate app workflow to bump chart versions

* docs: add helm artifacts verification

Signed-off-by: Ludovic Ortega <ludovic.ortega@adminafk.fr>

* fix: update app id

Signed-off-by: Ludovic Ortega <ludovic.ortega@adminafk.fr>

* docs: add documentation link in helm chart and seerr docs

Signed-off-by: Ludovic Ortega <ludovic.ortega@adminafk.fr>

---------

Signed-off-by: Ludovic Ortega <ludovic.ortega@adminafk.fr>
Co-authored-by: Ludovic Ortega <ludovic.ortega@adminafk.fr>
* refactor(adds package): this adds the validator package and removes email-validator from dependencys

* refactor(auth.ts and email.ts): migrates from EmailValidator to validator
…r-team#2068)

* docs: migrate third party documentation to a dedidcated folders

---------

Signed-off-by: Ludovic Ortega <ludovic.ortega@adminafk.fr>
@github-actions
Copy link
Copy Markdown

This pull request has merge conflicts. Please resolve the conflicts so the PR can be successfully reviewed and merged.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.