Skip to content

Add change password option#1604

Open
Arnei wants to merge 1 commit into
opencast:r/19.xfrom
Arnei:change-password-modal
Open

Add change password option#1604
Arnei wants to merge 1 commit into
opencast:r/19.xfrom
Arnei:change-password-modal

Conversation

@Arnei
Copy link
Copy Markdown
Member

@Arnei Arnei commented May 11, 2026

Fixes #356.

Adds a new button in the user menu (the dropdown in the top right corner) that allows users to change their own password. The idea is to allow users to change their password without having to give them full access to the users table.

Requires a new endpoint: opencast/opencast#7646

Bildschirmfoto vom 2026-05-11 13-48-27 Bildschirmfoto vom 2026-05-11 13-48-36

How to test this

Requires an Opencast with the backend PR linked above.

Adds a new button in the user menu (the dropdown in the top right
corner) that allows users to change their own password.
The idea is to allow users to change their password without having
to give them full access to the users table.
@Arnei Arnei added the type:enhancement New feature or request label May 11, 2026
@github-actions
Copy link
Copy Markdown
Contributor

Use docker or podman to test this pull request locally.

Run test server using develop.opencast.org as backend:

podman run --rm -it -p 127.0.0.1:3000:3000 ghcr.io/opencast/admin-interface:pr-1604

Specify a different backend like stable.opencast.org:

podman run --rm -it -p 127.0.0.1:3000:3000 -e PROXY_TARGET=https://stable.opencast.org ghcr.io/opencast/admin-interface:pr-1604

It may take a few seconds for the interface to spin up.
It will then be available at http://127.0.0.1:3000.
For more options you can pass on to the proxy, take a look at the README.md.

@github-actions
Copy link
Copy Markdown
Contributor

This pull request is deployed at test.admin-interface.opencast.org/1604/2026-05-11_11-50-20/ .
It might take a few minutes for it to become available.

@mtneug
Copy link
Copy Markdown
Member

mtneug commented May 11, 2026

For some users, changing the password is not possible. admin usually is an in-memory user with a password defined in a configuration file. Users logging in through an SSO system also shouldn't be able to change their password. Really, only JPA users should have the option. Is this already considered by the frontend?

@Arnei
Copy link
Copy Markdown
Member Author

Arnei commented May 11, 2026

This is considered by the frontend insofar as that a non-"manageable" user cannot change their password. Same as for the users table, where you cannot change a non-manageable user. I am not certain that "non-manageable" is the same as "only JPA", but I would expect it to be.

@mtneug
Copy link
Copy Markdown
Member

mtneug commented May 12, 2026

Nice. I think this is the correct check. At least admin and user references are non-"manageable".

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

Labels

type:enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants